Iskra API Reference
    Preparing search index...

    Interface ValidationOptions

    interface ValidationOptions {
        allowForm?: boolean;
        caseInsensitiveKeys?: boolean;
        details?: ValidationDetails;
        logErrors?: boolean;
        logger?: KernelLogger;
        status?: number;
    }
    Index
    allowForm?: boolean

    Accept form bodies (urlencoded, multipart) besides JSON. Default true.

    caseInsensitiveKeys?: boolean

    Match body and query keys to the schema's ignoring case (NOMBRE fills nombre), as Go's encoding/json does. Needs Zod object schemas.

    The details of a failure; default: the response contract's, else Zod's flatten().

    logErrors?: boolean
    logger?: KernelLogger

    Where errors are logged (default: the console).

    status?: number