docs(intent): a create-from is guarded by the source's status (#7068) - #229
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 bysourceStatus:kept a live Generate Invoice button, and a second click issued a second invoice to the same customer.Adds Guarding the click -
fromStatusto 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 declaredsourceStatus: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 nofunction: EntityStatusrelation, and a list containing thesourceStatusthe action itself writes.npx vitepress build docspasses.