We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compositions. How do we mark an object property as a composition, so that deletes are cascaded?
Good question. If a relation is defined using a property attribute, perhaps this can be added as an argument, e.g.:
class Notebook { // ... var notes: Note[] } class Note { // ... @MeldField("notebookId", onDelete: .cascade) var notebook: Notebook var notebookId: String }
Originally posted by @kkostov in m-ld/m-ld-spec#97 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Good question. If a relation is defined using a property attribute, perhaps this can be added as an argument, e.g.:
Originally posted by @kkostov in m-ld/m-ld-spec#97 (comment)
The text was updated successfully, but these errors were encountered: