Skip to main content

resolve_prop

Function resolve_prop 

Source
pub fn resolve_prop(
    value: &Value,
    schema: Option<&PropSchema>,
    ctx: &ResolveContext<'_>,
    defs: &IndexMap<String, DefSchema>,
) -> Option<Value>
Expand description

One prop value resolved along its schema: dynamic → resolved, DATA literal → verbatim, arrays and shaped objects → per item / property, anything else → resolve_value (any depth).