Skip to main content

validate_with_warnings

Function validate_with_warnings 

Source
pub fn validate_with_warnings(
    query: &mut GqlQuery,
) -> Result<Vec<String>, QueryError>
Expand description

Validate and normalise an AST in place, returning any warnings generated.

Returns an empty Vec<String> for forward compatibility; no warning paths are currently emitted. The F048 depth-cap path now returns InvalidInput rather than clamping and warning.