Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate CRUD resolvers based on the Prisma schema #15

Closed
daniellwdb opened this issue Mar 11, 2021 · 3 comments
Closed

Generate CRUD resolvers based on the Prisma schema #15

daniellwdb opened this issue Mar 11, 2021 · 3 comments
Labels
type/feat Add a new capability or enhance an existing one

Comments

@daniellwdb
Copy link

It would be nice to have the option to generate CRUD resolvers based on our Prisma schema like TypeGraphQL provides!

@daniellwdb daniellwdb added the type/feat Add a new capability or enhance an existing one label Mar 11, 2021
@kleydon
Copy link

kleydon commented Jan 18, 2022

+1, would love to see this.

@coopbri
Copy link

coopbri commented Apr 7, 2023

There is some more recent discussion about this here: #306

And some discussion worth looking at here: graphql-nexus/nexus-plugin-prisma#1039

Temporarily, you can use the older nexus-plugin-prisma as described here. Of course, this is not recommended (it is deprecated, and has not been updated for a couple years).

Personally, I ended up switching to Pothos with https://github.com/Cauen/prisma-generator-pothos-codegen, but would love to use Nexus instead of Pothos.

@kleydon
Copy link

kleydon commented Apr 7, 2023

@coopbri - thanks for the heads-up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feat Add a new capability or enhance an existing one
Projects
None yet
Development

No branches or pull requests

3 participants