Skip to main content

check_report

Function check_report 

Source
pub fn check_report(
    factory: &dyn Fn() -> App,
    models: &[&'static ModelMeta],
    settings: &CliSettings,
    migrations_dir: Option<&Path>,
) -> Envelope<CheckSummary>
Expand description

The check report: every issue in check order (config, models, migrations, OpenAPI, backend, router build).

factory builds a fresh app; the router-build check consumes one. migrations_dir is where the JSON migrations live (None skips the migration checks).