Iskra API Reference
    Preparing search index...

    Interface BindOptions

    interface BindOptions {
        allowForm?: boolean;
        caseInsensitiveKeys?: boolean;
        details?: ValidationDetails;
    }
    Index
    allowForm?: boolean

    Also accept form bodies (urlencoded and multipart). Default: JSON only.

    caseInsensitiveKeys?: boolean

    Match the request's keys to the schema's ignoring case, as Go's encoding/json does: { "NOMBRE": "Ana" } fills nombre. Nested objects and arrays too. Needs a Zod object schema (it reads its shape).

    The details of a failed validation; default: the contract's, else 'flatten'.