improve comments

feat/orm
Laurin Weger 2 weeks ago
parent 2f5e3c0d50
commit 0d37d89ffd
No known key found for this signature in database
GPG Key ID: 9B372BB0B792770F
  1. 4
      ng-verifier/src/orm/add_remove_triples.rs

@ -144,8 +144,8 @@ pub fn add_remove_triples(
} }
} }
// If predicate is of type shape, register (parent -> child) links so that // If predicate is of type shape, register
// nested subjects can later be (lazily) fetched / validated. // "parent (predicate) -> child subject" and `child_subject.parents`.
for shape_iri in predicate_schema.dataTypes.iter().filter_map(|dt| { for shape_iri in predicate_schema.dataTypes.iter().filter_map(|dt| {
if dt.valType == OrmSchemaLiteralType::shape { if dt.valType == OrmSchemaLiteralType::shape {
dt.shape.clone() dt.shape.clone()

Loading…
Cancel
Save