Skip to main content

check_schema_contracts

Function check_schema_contracts 

Source
pub async fn check_schema_contracts(
    configuration: &Configuration,
    workspace: &str,
    check_schema_contracts_request: CheckSchemaContractsRequest,
) -> Result<CheckSchemaContracts200Response, Error<CheckSchemaContractsError>>
Expand description

Save-time schema-contract check for data pipelines: validates the given script content’s asset references (body column reads, // column lineage, // data_test relationships) against the latest captured producer schemas and returns warnings. Warnings never block a save/deploy; an asset whose producer declares on_schema_change=ignore is suppressed to a single informational entry.