-
Notifications
You must be signed in to change notification settings - Fork 689
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
feat: EXPOSED-403 Implement EntityClass.restriction
- a means of providing soft deletes
#2114
base: main
Are you sure you want to change the base?
Conversation
1e71160
to
fe4268b
Compare
- A means to apply a broad filter for an entire entity/entity class - can typically be used for soft delete scenarios
fe4268b
to
8f71f43
Compare
Bug has been filed and reproduced in tests here: |
Thank you for PR, it looks interesting, I'll create an issue in YouTrack for the discussion of it, Also thank you for describing the bug, I checked another PR and related YT issue, here (/pull/2119) is a PR that should fix it. |
EntityClass.restriction
- a means of providing soft deletesEntityClass.restriction
- a means of providing soft deletes
I have one here: https://youtrack.jetbrains.com/issue/EXPOSED-403/DAO-soft-delete-restriction-support |
This is my attempt at showcasing/drafting a version of "DAO restrictions", similarly to how
@SQLRestriction
works in Hibernate (which can be used for soft deletes), but without the magic annotation setup.Youtrack: https://youtrack.jetbrains.com/newIssue?project=EXPOSED&draftId=25-5413167
Usage:
Why "restriction"?
AND <restriction>
fashion, in my mind