-
Notifications
You must be signed in to change notification settings - Fork 494
Description
Thank you for more idiomatic graphql option for go.
I am currently using https://github.com/graphql-go/graphql, though it is incredibly verbose, I could structure the schema so it is kept at module level.
I see one thread in graphql-js
regarding the same, in which lee says
graphql/graphql-js#223
If you're using the schema language to build a schema than you need to first combine it into a single string before calling buildSchema. That typically is a nice developer experience for small to medium sized schema, though for more complex schema we recommend building the schema programmatically. Even in this case you still need to collect all the types to assemble the schema. A similar operation to collecting all the strings before calling buildSchema
I wonder what is the best approach you propose with this library. Any plan for incrementally building the schema by registering the graphql schema and resolve functions for isolated modules ?
thanks again for providing this library.