Skip to main content

validate_shapes

Function validate_shapes 

Source
pub fn validate_shapes(
    query: Query<'_, '_, (&RopeC, &Label, &DocumentLinks, &Wrapped<TextDocumentItem>, &Prefixes, Ref<'_, Triples>, &DynLang), With<Open>>,
    other: Query<'_, '_, (&Label, &ShaclShapes, Option<&Global>, &Triples)>,
    revisions: Res<'_, Revisions>,
    seen: Local<'_, Seen>,
    client: ResMut<'_, DiagnosticPublisher>,
    res: Res<'_, ServerConfig>,
)
Expand description

System evaluates linked shapes

Validates open documents whose triples changed, and every open document when shapes changed (Revisions::shapes): shapes usually arrive in the background (LOV, owl:imports, configured shapes), after the document was opened.