Skip to content

docs(intent): postings onCreate trigger + conditional dependsOn source - #156

Open
delchev wants to merge 2 commits into
masterfrom
docs/intent-oncreate-conditional-dependson
Open

docs(intent): postings onCreate trigger + conditional dependsOn source#156
delchev wants to merge 2 commits into
masterfrom
docs/intent-oncreate-conditional-dependson

Conversation

@delchev

@delchev delchev commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Documents the two intent DSL additions in the dsl-reference:

🤖 Generated with Claude Code

delchev and others added 2 commits July 29, 2026 11:31
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>
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