Skip to content

immutability / deprecation proposal#203

Open
jdcourcol wants to merge 2 commits into
mainfrom
immutability_deprecation
Open

immutability / deprecation proposal#203
jdcourcol wants to merge 2 commits into
mainfrom
immutability_deprecation

Conversation

@jdcourcol

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread docs/schema.md Outdated
Comment thread docs/schema.md Outdated
Comment thread docs/schema.md Outdated
Comment thread docs/schema.md

- **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
Copy Markdown
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
Copy Markdown
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.

Comment thread docs/schema.md
- description, name are not changing the fundamental identity of an entity.

- **Deletion**:
- Entities can be deleted except if they are referenced by other entities.

@GianlucaFicarelli GianlucaFicarelli Jun 2, 2025

Copy link
Copy Markdown
Collaborator

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)

@mgeplf mgeplf Jun 2, 2025

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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