Managing schema by dividing in module. #2233
Unanswered
ItalicJerrold
asked this question in
Q&A
Replies: 1 comment
-
It was suggested in another issue to use users.graphql.schema
books.graphql.schema
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
We have quite a lot API in one schema and we want to separate them into different schema files so that we can better manage them. However, we found that type Query, Subscription and Mutation will cause conflict in a generation.
What did you expect?
Can conflict check downgrade to query/mutation/subscription name but not to those special type?
Minimal graphql.schema and models to reproduce
Create two schemas with
type Query
and run gqlgenversions
gqlgen: v 0.13.0
go 1.17.8
Beta Was this translation helpful? Give feedback.
All reactions