You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using "io.github.kobylynskyi.graphql.codegen" version "5.7.1".
In our service we want to have:
-schema1.graphqls - it will contain the structures and queries that will be used by UI module 1.
-schema2.graphqls - it will contain the structures and queries that will be used by UI module 2.
-commonSchema.graphqls - it will contain common structures used both in schema1.graphqls and schema2.graphqls
However, it is a good practice the UI modules to receive only one combined schema.
Therefore, we want the spring-boot service to support functionality of combining multiple .graphqls files into one so that the UI can receive only one .graphqls file.
For example, we want:
the service to produce a combined1.graphqls file that contains the graphql data from commonSchema.graphqls and schema1.graphqls
the service to produce a combined2.graphqls file that contains the graphql data from commonSchema.graphqls and schema2.graphqls
Is this possible with the library and if yes how? Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
We are using "io.github.kobylynskyi.graphql.codegen" version "5.7.1".
In our service we want to have:
-schema1.graphqls - it will contain the structures and queries that will be used by UI module 1.
-schema2.graphqls - it will contain the structures and queries that will be used by UI module 2.
-commonSchema.graphqls - it will contain common structures used both in schema1.graphqls and schema2.graphqls
However, it is a good practice the UI modules to receive only one combined schema.
Therefore, we want the spring-boot service to support functionality of combining multiple .graphqls files into one so that the UI can receive only one .graphqls file.
For example, we want:
Is this possible with the library and if yes how? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions