Skip to content
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

Unique property constraint #37

Open
gsvarovsky opened this issue Aug 21, 2020 · 0 comments
Open

Unique property constraint #37

gsvarovsky opened this issue Aug 21, 2020 · 0 comments

Comments

@gsvarovsky
Copy link
Member

unique: A set of subjects in the domain (e.g. of a specific type) must have unique values for a property (besides their identity).

Conflict Scenario: Concurrent updates to two different subjects could both update the property to the same value.

Resolution: Decide the Subject to receive the conflicting value. Delete the other subject's property. If the property is mandatory, revert the value to the previous (it must exist in the same transaction).

@gsvarovsky gsvarovsky transferred this issue from m-ld/feedback Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant