Skip to content

docs(intent): locksWithMaster - a child collection that outlives its master's lock - #172

Merged
delchev merged 1 commit into
masterfrom
docs/intent-locks-with-master
Aug 13, 2026
Merged

docs(intent): locksWithMaster - a child collection that outlives its master's lock#172
delchev merged 1 commit into
masterfrom
docs/intent-locks-with-master

Conversation

@delchev

@delchev delchev commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

A master's immutableWhen locks that entity, but the generated UI extended the lock to every child panel — so an issued invoice's allocation rows could not be added by hand, in the one state where allocations matter. The child's own controller always accepted the writes (verified live: master mutable:false and a header PUT 409, while a POST to the child returned 200 and the roll-up recomputed).

Documents locksWithMaster: false, its default (true), the two parse-time validations (composition child + a master that actually locks), and the boundary: a document's own line items are unaffected — they render in the items pane, not a child panel.

Feature: eclipse-dirigible/dirigible#6700.

🤖 Generated with Claude Code

…master's lock

A master's immutableWhen locks that entity, but the generated UI extended the
lock to every child PANEL, so an issued invoice's allocation rows could not be
added by hand - in the one state where allocations matter. The child's own
controller always accepted the writes.

Documents locksWithMaster: false, its default, the two parse-time validations,
and the boundary: a document's own line items are unaffected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@delchev
delchev merged commit 0ad8a28 into master Aug 13, 2026
@delchev
delchev deleted the docs/intent-locks-with-master branch August 13, 2026 07:18
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