Skip to main content

descendants_of

Function descendants_of 

Source
pub fn descendants_of(schema: &Schema, roots: &[&str]) -> BTreeSet<String>
Expand description

Every entity the schema declares at or below roots, upper-cased.

Walks the declared supertype chain of every entity rather than the subtype lists, because an entity can be reached through a chain whose intermediate links are abstract.