@douglasneuroinformatics/libnest
    Preparing search index...

    Class ParseSchemaPipe<T>

    Type Parameters

    • T

    Implements

    • PipeTransform<T>
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    isOptional: boolean
    schema: ZodType<T>

    Methods

    • Method to implement a custom pipe. Called with two parameters

      Parameters

      • value: unknown

        argument before it is received by route handler method

      Returns Promise<T | undefined>