Skip to content

docs(intent): a create-from is guarded by the source's status (#7068) - #229

Merged
delchev merged 1 commit into
masterfrom
docs/generates-from-status
Sep 6, 2026
Merged

docs(intent): a create-from is guarded by the source's status (#7068)#229
delchev merged 1 commit into
masterfrom
docs/generates-from-status

Conversation

@delchev

@delchev delchev commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Platform PR: eclipse-dirigible/dirigible#7080 (eclipse-dirigible/dirigible#7068)

A generates: button is offered on every record of the source view and the endpoint behind it answers every call the same way - so a proforma already flipped to INVOICED by sourceStatus: kept a live Generate Invoice button, and a second click issued a second invoice to the same customer.

Adds Guarding the click - fromStatus to the create-from chapter of the intent DSL reference: the statuses the source may run from, the 409 the endpoint answers (before anything is created), the button that stops offering itself on a record the endpoint would refuse, the guard a declared sourceStatus: implies against itself (so an existing model is corrected with no authoring change), and the four shapes refused at parse - an event-only rule, scope: page, a source with no function: EntityStatus relation, and a list containing the sourceStatus the action itself writes.

npx vitepress build docs passes.

A generates: button is offered on every record of the source view and its
endpoint answers every call the same way, so a proforma already flipped to
INVOICED by sourceStatus: kept a live Generate Invoice button and a second
click issued a second invoice to the same customer.

Documents fromStatus: - the statuses the source may run from - the 409 it
answers, the button that stops offering itself, the guard a declared
sourceStatus: implies against itself, and the four shapes refused at parse.
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