Open bbozzay opened 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zenstack-new-site | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 3, 2024 6:04am |
The pull request updates the polymorphism.md
document to provide a more comprehensive explanation of polymorphic relations in Prisma and their implementation using ZenStack. It expands on the challenges of modeling these relations, introduces a section on ZenStack's enhancements to PrismaClient
, and elaborates on modeling, querying, and managing access policies for polymorphic relations. The document also discusses polymorphic TypeScript types and their differences from standard Prisma types, while noting the limitations of the current implementation.
File | Change Summary |
---|---|
docs/guides/polymorphism.md | Expanded introduction on polymorphic relations, added ZenStack implementation details, enhanced usage examples, and discussed limitations of the current implementation. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
When I initially read this, I thought that specifying the 'delegate' kind was the way to opt in to the feature. If someone is as careless as I was, they might not realize they are turning off authorization policies by only specifying one kind. I think this change will help the reader realize that each kind has to be specified
Summary by CodeRabbit
polymorphism.md
guide to clarify polymorphic relations in Prisma and ZenStack.