schema-components - v3.7.0
    Preparing search index...

    Interface DiagnosticsOptions

    Diagnostics configuration threaded through the processing pipeline.

    interface DiagnosticsOptions {
        diagnostics?: DiagnosticSink;
        strict?: boolean;
    }
    Index

    Properties

    diagnostics?: DiagnosticSink

    Callback for receiving diagnostics. When omitted, diagnostics are silently discarded (preserving backward compatibility).

    strict?: boolean

    When true, any diagnostic is converted to a thrown SchemaCompatibilityError. Useful in CI or strict mode to catch schema drift early.