Skip to main content

load_combined_defs

Function load_combined_defs 

Source
pub(crate) fn load_combined_defs(
    gen_dir: &Path,
) -> Result<(Value, Map<String, Value>)>
Expand description

Reads the master + v2 schema bundles from gen_dir, merges them via merge::build_combined, and extracts the flat definitions object. Shared by regen::regen (which writes the combined schema out) and bisect::bisect (which probes the definitions with typify).