Closed sanket-work closed 4 years ago
*.graphqls
doesn't stand for graphql in plural
but graphql schema
.
https://github.com/ardatan/graphql-toolkit#-file-loading-for-both-schema-and-resolvers
I recommend you to use something like this to load multiple files at once easily.
Is there a way to club all .graphql files in one single file and later import the single file wherever required. In the _nodemodules/graphql-import-node/register.d.ts I do see a module named
*.graphqls
but no associated documentation.