Replies: 2 comments
-
@Drakota I think it will be best to have an alternative for the base PRs are welcome ;) |
Beta Was this translation helpful? Give feedback.
0 replies
-
At the moment Prisma2 is still in beta and a moving target in each releases, that's why before going all out with a plugin for Codegen-Prisma2, I thought the config options |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.

Right now I'm trying to work with Prisma2 and Codegen together and I'm struggling with type clashing. The types generated by Codegen also includes relationships and custom types.
Ex.
But when using Photon to fetch a course, the type looks like this:

Describe the solution you'd like
I know I can fix the string <-> Date difference by using the scalars option in the configuration, but I'd be nice to also have an option to generate only the scalars of a type to prevent this conflict.
This problem is especially prominent when dealing with resolvers.
Anyone had more luck using those two tools together?
Beta Was this translation helpful? Give feedback.
All reactions