-
Notifications
You must be signed in to change notification settings - Fork 4
feat: tree table modifications #18
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
|
|
||
| annotate AdminService.Genres with @odata.draft.enabled; | ||
| // needed for changing a parent | ||
| annotate AdminService.Genres with @odata.draft.bypass; |
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.
Does that mean the maintenance of trees only works with bypass enabled?
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.
no, you can CREATE, EDIT and DELETE nodes (root and child) without @odata.draft.bypass annotation, only CUT/PASTE (changing a parent with @odata.bind) doesn't work without @odata.draft.bypass, because we are modifying an active entity directly.
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 propose we wait until the next release and then use cds.fiori.direct_crud to enable it globally.
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.
cannot be merged yet because of https://github.tools.sap/cap/cdsnode/issues/2503#issuecomment-18095257
Tree Table entity
Genresis now enabled for modifications.Following functionality is tested on HANA and SQLite:
Drag&DroporCut/Paste