Skip to main content

validate_key_holder

Function validate_key_holder 

Source
pub fn validate_key_holder(
    ast: &Ast,
    request: &ProbeRequest,
) -> Result<(), ProbeError>
Expand description

Validate the currently supported inverse holder shape without reading data.

Primitive, string, enumeration, alias and nested-structure keys are supported. Optional/external, collection and union key contexts are explicitly refused.

ยงErrors

Unsupported holder shape or invalid layout.