Skip to main content

load_authoring_package_from_memory

Function load_authoring_package_from_memory 

Source
pub fn load_authoring_package_from_memory(
    manifest_yaml: &str,
    types_yamls: &[(String, String)],
) -> Result<Schema, SchemaLoadError>
Expand description

Load in-memory package content under the AUTHORING tier — the same strictness as load_schema_from_dir (retired keys refuse, the current metadata polarity), without a directory. The schema comes back for callers that need to compare what the strict read resolves (the migrate verb’s faithfulness check); check_package_reauthorable is the yes/no form.