Skip to content

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jdcourcol
Copy link
Contributor

No description provided.


- **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.
Copy link
Contributor

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?

Copy link
Contributor Author

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.
Copy link
Collaborator

@GianlucaFicarelli GianlucaFicarelli Jun 2, 2025

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)

Copy link
Collaborator

@mgeplf mgeplf Jun 2, 2025

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.

Copy link
Contributor Author

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)

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

Successfully merging this pull request may close these issues.

4 participants