Skip to main content

Module validate

Module validate 

Source
Expand description

The validate grammar: what a validate action asserts against (target), the paired expectation shapes, and the expectation parsers (bd rc-m6xr, split out of the parent module; mirrors the document/error.rs and partner_script.rs patterns).

ScenarioTarget, SqlTarget, and ValidateExpectation are re-exported at crate::document and the crate root, so consumers keep the paths they had before the split. PartnerExpectation stays the camel_matchers::RequestExpectation alias.

Structs§

SqlTarget
The sql validate target payload (bd rc-25lup.2): a read against a configured datasource. The datasource obeys the identifier law: it names an entry under [datasources.*] in Camel.toml and is never interpolated. The query is doc-authored read text; every statement that fails crate::sql_action::is_read_statement is rejected at load — the sql: prepare action owns mutations.

Enums§

ScenarioTarget
What a validate action asserts against.
ValidateExpectation
The expectation of a validate action, keyed by its target: the message matcher grammar for lastReceived and variable targets, the partner count grammar for partner targets, the sql-target row shape for sql targets.