fix(policy): currentModel and currentOperation inside of collection predicates#2537
fix(policy): currentModel and currentOperation inside of collection predicates#2537ymc9 merged 2 commits intozenstackhq:devfrom
Conversation
📝 WalkthroughWalkthroughAdded required model type and CRUD operation fields to the expression evaluator context and propagated them through the expression transformer; implemented Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…when used in mixin
|
Thanks for you so quick response. I really start to enjoy using zenstack. |
This fixes
currentModel()andcurrentOperation()inside of collection predicatesfixes #2536
Summary by CodeRabbit
New Features
Tests