feat: tree table modifications#18
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.
Does that mean the maintenance of trees only works with bypass enabled?
There was a problem hiding this comment.
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.
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.
cannot be merged yet because of https://github.tools.sap/cap/cdsnode/issues/2503#issuecomment-18095257
There was a problem hiding this comment.
I think this will work with cds10 and removing the annotation. direct_crud has been split in two feature flags. bypass_drafts is enabled by default. draft_new_action is opt in. The reported problem only exist with draft_new_action.
@vl-leon Can you double check?
Tree Table entity
Genresis now enabled for modifications.Following functionality is tested on HANA and SQLite:
Drag&DroporCut/Paste