DEV Community

Discussion on: Basic differences between three GraphQL-servers.

Collapse
 
themarcelolewin profile image
Marcelo Lewin

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?

Collapse
 
yeeiodev profile image
Pablo Yev

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...

Collapse
 
themarcelolewin profile image
Marcelo Lewin

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!

Collapse
 
mittalyashu profile image
Yashu Mittal

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: