prisma 2 no longer generates prisma.graphql #2115
Answered
by
notrab
mitchhankins01
asked this question in
Q&A
-
Problemprisma 1 generated "/generated/prisma.graphql" which allowed us to import types into the apollo scheme, prisma 2 no longer generates this file Solutionhave prisma 2 generate the file as well, or is there a better way? |
Beta Was this translation helpful? Give feedback.
Answered by
notrab
Apr 7, 2020
Replies: 1 comment
-
@mitchhankins01 Prisma 2 is no longer just a GraphQL ORM but more abstract ORM. I'd look at Nexus + Prisma plugin for generating such schemas. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ryands17
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mitchhankins01 Prisma 2 is no longer just a GraphQL ORM but more abstract ORM. I'd look at Nexus + Prisma plugin for generating such schemas.