What is the latest with nexus-prisma-plugin? I'm trying to build a graphql API with nexus and nexus-prisma-plugin but seem the project has been discontinued. Anywork around to use it in 2022 projects, is it advisable to use it?
Thanks Pedro, does it generate crud apis like nexus-prisma-plugin does using data models defined in Prisma.schema?
p
Pedro Roque
10/26/2022, 9:54 AM
you have to define a separate model for the Graphql schema.
https://pothos-graphql.dev/docs/plugins/prisma
It's all typesafe and then once that is done. it can generate the includes for prisma based on the fragment you request from the server. But you will still need to specify the relationships that is allowed to fetch.