-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Support for composite types #1421
Comments
Yeah I started the feature here: #1086 If you want to work on it I'd be happy to help and review, feel free to use the existing PR as a starting point if it helps. |
I started to work on it based on your PR. The tests work now but I still need to work on I open a new PR with my branch and you close your one? |
Before I start working on
Are you ok with it? |
Yes that looks great! |
Considering the following Prisma schema:
Currently, the user model generated looks like this:
However this is not correct.
Avatar
should not be treated as a model. It is a composite type (a feature of Prisma for MongoDB).Note
The code does not even work because
Avatar
is a type, not a model, so there is noAvatarModel
generated.The text was updated successfully, but these errors were encountered: