docs(intent): postings onCreate trigger + conditional dependsOn source - #156
Open
delchev wants to merge 2 commits into
Open
docs(intent): postings onCreate trigger + conditional dependsOn source#156delchev wants to merge 2 commits into
delchev wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
`pattern` gives a string/text field an authorable input format: the regex reaches the HTML input's pattern attribute AND a server-side check in the generated controller, so an API caller cannot bypass what the form enforces (the emitted regex is Java-escaped for you). Documented with its honest limits - it is a FORMAT check, so a per-jurisdiction rule or a checksum should leave the field unpatterned, and a numeric field rejects a regex because there the attribute already means the display format. `dependsOn` gains the header-mediated source: a two-segment relation path lets a document line default from the record the open HEADER points at, and copies once when the line is opened. Also states the create-validation rule the same wave settled: a required field carrying a default is not demanded from the caller, and the create response echoes the persisted row so the defaults come back. Drive-by: the em dashes in the postings paragraph, which house style forbids. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Documents the two intent DSL additions in the dsl-reference:
postings:onCreate trigger (feat(intent): postings onCreate trigger - a lifecycle-less source posts on its insert eclipse-dirigible/dirigible#6441, merged): a source document with no status lifecycle - a booked payment - posts on its insert;whenoptional.dependsOnsource (feat(intent): conditional dependsOn source selection - valueFrom picked by a classifier eclipse-dirigible/dirigible#6442): a field'svalueFromas{ by, cases, default? }- the copied property picked by a classifier, incl. the open-document-header path. Merge together with (or after) #6442.🤖 Generated with Claude Code