hey fellow devs, I am a graphql starter and runni...
# orm-help
h
hey fellow devs, I am a graphql starter and running into an issue with modularizing my graphql schema. I have modularized my schema in 2 different
schema.graphql
files (there can be more once the entities increase) with their separate types and queries and mutations. I am using
extend
keyword to extend mutations and queries in those. But, when I am trying to run the server, it does not seem to have find the query and mutations defined in one schema file. I am creating the server like this
Copy code
new GraphQLServer({
  typeDefs: [ '111.schema.graphql',
               '222.schema.graphql',
],
  resolvers,
  context: { prisma },
});
If this is not the right place, could you please point me to the correct place, if you happen to know one.
a
https://www.youtube.com/playlist?list=PLN3n1USn4xlky9uj6wOhfsPez7KZOqm2V. In part 6 and 29 of this tutorial, you may find some good pieces of information.