For yoga, the typeDefs allows you to pass an array or a file location. How can I pass an array with multiple file locations to break the schema apart. Or is that even possible?
Thank you! I'll check that out. Also, would you be interested in being on my GraphQL { Resolvers } podcast? I'm about to launch it and would love to have on as a guest to chat GraphQL. if so, I can DM you my email address to continue our chat!
For yoga, the typeDefs allows you to pass an array or a file location. How can I pass an array with multiple file locations to break the schema apart. Or is that even possible?
Hi! Thanks for reading.
I think that what you are looking for is "schema stitching".
Here is an excellent article from Prisma. It explains the use of graphql-import. Hope it works for you.
Please let me know!!
prisma.io/blog/graphql-schema-stit...
Thank you! I'll check that out. Also, would you be interested in being on my GraphQL { Resolvers } podcast? I'm about to launch it and would love to have on as a guest to chat GraphQL. if so, I can DM you my email address to continue our chat!
There's also schema merging, in addition to stitching and each one of them has its own use-case.
Here's are reference links to their docs: