pub fn surface_parse_diagnostics(result: &ParseResult) -> Result<(), CliError>Expand description
Prints parser warnings and fails on parser errors.
The parser emits entities best-effort even for source it could not fully interpret; generating migrations from a half-understood schema turns parser confusion into destructive DDL, so hard errors must stop the command.
ยงErrors
Returns CliError::SchemaParse listing every error in result.