Alvin Khaled
06/26/2020, 7:08 AMnpx prisma introspect and npx prisma generate, the schema.graphql file remained unchanged, even after trying also to run npm run generate. Is this intended behavior?
The two examples I tried: https://github.com/prisma/prisma-examples/tree/master/typescript/graphql-nextjs and https://github.com/prisma/prisma-examples/tree/master/typescript/graphql-apollo-serverRyan
06/26/2020, 7:31 AMschema.graphql has no relation to prisma generate. That file is used to create your GraphQL schema to expose to the client. So you would either have to create that yourself and write all the resolvers or use something like Nexus.
Prisma is just a database querying tool so it wouldn't change your schema.graphql anyway.Alvin Khaled
06/26/2020, 4:47 PMnpm run generate (which includes running ts-node --transpile-only src/schema) update the schema.graphql file? Is there something else I've got to do to have Nexus Schema update it?Alvin Khaled
06/26/2020, 4:50 PM