nest
    Preparing search index...

    Function Query

    • Inject query params into the method parameters If the schema is provided the input will be parsed with schema.

      Type Parameters

      • T extends ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

      Parameters

      • Optionalschema: T

        ZodType

      Returns ParameterDecorator

      ParameterDecorator

         methoName(@Query(ProductQuerySchema) query:ProductQuery){ }