Function getSchemaInfo

  • Extracts the information from a TypeBox schema needed to parse form data and query parameters, caching the information to improve performance.

    Type Parameters

    • T extends TObject<TProperties, T>

    • U extends SchemaInfo<T, U>

    Parameters

    • schema: T

      A TypeBox schema defining an object.

    • Optional extend: ((schemaInfo) => U)
        • (schemaInfo): U
        • Parameters

          Returns U

    Returns U

    Cached information about the schema.

Generated using TypeDoc