Skip to main content

property_checked

Function property_checked 

Source
pub fn property_checked(
    model: &Model,
    id: EntityId,
) -> Option<(Property, Vec<PropertyAnomaly>)>
Expand description

Read one property by id, reporting every nested member left unread.

Nested complex properties are followed along a tracked path with a depth bound and a member budget. A member that re-enters the path (PropertyAnomaly::ComplexCycle), a complex property nested too deep (PropertyAnomaly::ComplexTooDeep), members past the budget (PropertyAnomaly::ComplexBudgetExceeded) and member ids absent from the file (PropertyAnomaly::MissingMember) are reported, never silently dropped.