@metreeca/qest - v0.10.0
    Preparing search index...

    Type Alias DecoderOpts

    Configuration options for decoding operations.

    type DecoderOpts = {
        base?: IRI;
        lenient?: boolean;
    }
    Index

    Properties

    Properties

    base?: IRI

    Base IRI for IRI resolution (must be absolute and hierarchical).

    Resolves internal IRIs to absolute form.

    If omitted, IRIs are resolved against app.

    lenient?: boolean

    Disables structural validation after decoding.

    Allows the caller to handle validation independently using more advanced or specialised tools, for example for improved error reporting.

    • When true, structural checks are skipped and only syntax errors are reported through exceptions
    • When false, both syntax and structural errors are reported through exceptions

    If omitted, decoders apply internal structural validators to the input.