How can I split schema resolver file? #3563
Replies: 2 comments 1 reply
-
@mittalyashu curious if you ever found a solution? I have a need to separate schema/resolvers into external packages managed by other teams and have been stumbling when so much is generated on how to stitch them back together into a single graph. |
Beta Was this translation helpful? Give feedback.
-
Assuming you're using the example provided in the docs with a
When you run You will need to use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As I scaffold the gqlgen project, it generated
schema.resolvers.go
file, the file is continuing to grow and it is difficult manage.How can I split the file into multiple schema resolver?
Even tried going though the documentation it was still not very clear:
Beta Was this translation helpful? Give feedback.
All reactions