covenix / Query
Function: Query()
Query(
schema):MethodDecorator
Defined in: src/decorators.ts:120
Validates req.query against the given Zod object before the handler runs. Parsed (coerced) values are what @QueryParam injects. A failure responds 400.
Parameters
schema
ZodObject
Zod object schema describing the query string.
Returns
MethodDecorator
