Skip to main content

validate_prepared_writer

Function validate_prepared_writer 

Source
pub fn validate_prepared_writer(
    config: &ConnectorConfig,
    resolved: &SchemaBinding,
    prepared: &SchemaBinding,
) -> Result<(), ConnectorError>
Expand description

Validate that authorized external preparation retains the resolved query contract. Native identity, writer metadata and mappings may be finalized by the preparation hook.

ยงErrors

Rejects a changed connector, direction, logical schema or changelog policy, and malformed native content. Call before catalog publication or connector activation.