-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add support for views #18
Comments
@toxsick interesting request. I can see it working by basically parsing views in the same way as models. The builder would have a new builder.view("UserInfo").field('value', 'Json') creates view UserInfo {
value Json
} Does that sound correct to you? |
Hey @MrLeebo, that sounds super correct and would be nice to have! Thanks a lot and have a nice weekend! |
@MrLeebo AWESOME 🥳 Works perfectly, now I can use Prisma Views in PROD. Thanks a lot and have a good day! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there,
prisma recently add experimental support for views:
https://www.prisma.io/docs/concepts/components/prisma-schema/views
Could this be supported? Currently
printSchema
will remove views.Big thanks and regards!
The text was updated successfully, but these errors were encountered: