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
validatetarget payload (bd rc-25lup.2): a read against a configured datasource. The datasource obeys the identifier law: it names an entry under[datasources.*]inCamel.tomland is never interpolated. The query is doc-authored read text; every statement that failscrate::sql_action::is_read_statementis rejected at load — thesql:prepare action owns mutations.
Enums§
- Scenario
Target - What a
validateaction asserts against. - Validate
Expectation - The expectation of a
validateaction, keyed by its target: the message matcher grammar forlastReceivedandvariabletargets, the partner count grammar forpartnertargets, the sql-target row shape forsqltargets.