Skip to main content

resolve_message

Function resolve_message 

Source
pub fn resolve_message(
    spec: &MessageSpec,
) -> Result<HashMap<String, Resolution>, ResolveError>
Expand description

Build a resolution map for one message. The map takes each PascalCase type name referenced anywhere in the field tree to its kind and Rust path.

ยงErrors

Returns an error when the schema model is invalid or generated Rust cannot be formatted or written.