Function exec_generator

Source
pub fn exec_generator(
    config: GeneratorConfig,
    schemas: &Schemas,
    types: &Types,
) -> Result<TokenStream, Error>
Expand description

Executes the Generator with the passed config, schema and types.

ยงErrors

Returns a suitable Error type if the process was not successful.