Skip to content

feat: draft support#25

Open
schiwekM wants to merge 13 commits into
mainfrom
feat/draft
Open

feat: draft support#25
schiwekM wants to merge 13 commits into
mainfrom
feat/draft

Conversation

@schiwekM

@schiwekM schiwekM commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Have you...

  • Added relevant entry to the change log?

Comment thread lib/draft.js Dismissed
Comment thread lib/draft.js Dismissed
Comment thread lib/draft.js Dismissed
Comment thread lib/draft.js Dismissed
Comment thread lib/draft.js Dismissed
Comment thread lib/draft.js Dismissed
Comment thread lib/draft.js Dismissed
@schiwekM
schiwekM marked this pull request as ready for review July 9, 2026 13:29
@schiwekM
schiwekM requested a review from a team as a code owner July 9, 2026 13:29
schiwekM added 7 commits July 9, 2026 16:00
CDS 9 srv.send('NEW',...) on composition children returns single object,
CDS 10+ returns array. Wrap result to ensure consistent array format.
FK columns (@odata.foreignKey4) only back managed associations which
by definition never have on clauses. The check was unreachable.
Ensures SAVE event receives deep structure with composition children
(notes, sections) so CAP's lean_draft flow processes the whole tree.
Ensures srv.send('EDIT',...) triggers lean_draft's onEdit which deep-copies
the active entity tree (notes, sections) into the draft tables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants