Skip to main content

declare_config

Function declare_config 

Source
pub fn declare_config(config: DeclareConfig) -> Result<Manifest, AqlError>
Expand description

Validate a DeclareConfig and produce a Manifest.

This is the programmatic equivalent of parse_manifest() for XML configs. Returns an error if the config contains invalid attribute types or enum attributes without values.