-
Notifications
You must be signed in to change notification settings - Fork 0
immutability / deprecation proposal #203
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
base: main
Are you sure you want to change the base?
Conversation
|
||
- **Immutability**: | ||
|
||
Properties changing the fundamental identity of the entity should be marked as immutable (TBD: how technically) and cannot be assigned outside of the creation of the entity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would there be the possibility we would need to fix an immutable property?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say no. We will see if that case actually happens when we cross that bridge.
- description, name are not changing the fundamental identity of an entity. | ||
|
||
- **Deletion**: | ||
- Entities can be deleted except if they are referenced by other entities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it desired/acceptable:
- to hard delete the unreferenced entities (i.e. remove them from the db)
- to hard delete any referenced asset (i.e. remove them from the db and S3)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, does "delete" just actually delete the row, are are we doing the "normal" having a column deleleted
that gets marked true? We may need both, to comply w/ right to be forgotten.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I would give the possibility to delete any unreferenced entities and assets. (no column deleted)
No description provided.