-
Notifications
You must be signed in to change notification settings - Fork 2
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
how to generate types.rs
this file ?
#1
Comments
Hello, sorry this got lost in my notifications! You use |
Are there any GraphQL projects in the Rust ecosystem you guys are aware of that allow directly using the generated PCR types without manually creating these additional types? This automatic generation is something I've grown very accustomed to in the Node/JS/TS ecosystem and would love to map it over to Rust! |
Not that I’m aware of. I vaguely remember the PCR developer mentioning that him and the developer of rspc had thoughts/plans for some sort of GraphQL adapter/library. But, it was about a year ago now 😄 you can probably pop in their discord to ask |
Hahah, thanks for the tip, ironically I asked a similar question in the PCR repo: Brendonovich/prisma-client-rust#347 😂 Not a huge deal. Thanks anyways man! EDIT: relevant: |
I'm using your template as base, but I don't know how to generate
types.rs
this file, would you might teach me how to generate this file ?as your
types.rs
annotations, I wondering how to use prisma to generate this file, thank youThe text was updated successfully, but these errors were encountered: