validate_edit

Function validate_edit 

Source
pub fn validate_edit(
    edit: &Edit<'_>,
    schema: &SchemaContext,
) -> Result<(), ValidationError>
Expand description

Validates an edit against a schema context.

This performs semantic validation that requires context:

  • Value types match property data types (when registered in schema)

Note: Type checking is advisory. Unknown properties are allowed. Entity lifecycle (DELETED/ACTIVE) validation requires state context and is not performed here.