Skip to content

fix: ensure most recent cds model before deletion#95

Draft
PDT42 wants to merge 2 commits into
mainfrom
fix/intermittently-updated-models
Draft

fix: ensure most recent cds model before deletion#95
PDT42 wants to merge 2 commits into
mainfrom
fix/intermittently-updated-models

Conversation

@PDT42

@PDT42 PDT42 commented Jun 10, 2026

Copy link
Copy Markdown

Currently, db.model that is used as input for _deletes4 is not guaranteed to match the effective model. The effective model could have been modified during .on('loaded'), e.g. when @cap-js/cds-test is used in combination with @cap-js/data-privacy, where the model is enhanced in such a handler.

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.

1 participant