graphql-loader
graphql-loader copied to clipboard
Question: Can resolvers be modularised & merged in the load process
I was considering using the same approach until I came across the talk. Can the resolver file for each .graphql file sit alongside its corresponding schema and be merged into an executable schema by your loaded? I would also like some form of co-location of the two halves of the picture
Upvote on this request. Seems like this tool is nothing more than a toy if you cannot load co-located resolvers for queries, mutations and custom types.
I did something very similar to this, checkout https://github.com/RedLeap/GraphQL
Thing is, graphql-tools seems to be moving in this direction... The only real difference is you have to manually load your gql files into memory, then feed them to makeExecutableSchema
.