graphql-compose / graphql-compose/graphql-compose
Any plans to allow Schema Definitions and separate Resolvers (Just like Apollo) or load schema from file (.gql/.graphql)
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 75
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 3
Description
I am currently trying to make this lib load a schema defined in separate files similar to how Apollo Handles Schemas.
Basically having a definition object (***.gql/*.graphql**), and having a resolver object mapping the types to the resolvers.
I have currently achieve somewhat of a working solution, but in some cases it seems duplicate types are being used which throws a error when building the schema.
That said, is this planned/supported ? If no, care to shed some light on how you would handle it, maybe you have a better idea than what I am currently doing ? :)
I am basically trying to be able to load **schema.graphql** files with resolvers defined outside.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.