pub fn generate_models(config: CodegenConfig<'_>) -> Result<()>Expand description
Generate model code from schema files in the configured directory
Two-pass pipeline:
Pass 1 – scan *_valence_trait.rs files, build a trait-definitions map.
Pass 2 – process *_valence_schema.rs files with trait context so that
trait fields/connections can be merged and trait impls generated.