Skip to content

Function: processParameters()

ts
function processParameters(
   ctx, 
   target, 
   propertyKey
): Promise<unknown[]>;

Defined in: packages/core/src/decorators/param.decorators.ts:199

Extract and validate parameters based on metadata

Parameters

ParameterTypeDescription
ctxElysiaContextElysia context
targetobjectController class
propertyKeystring | symbolRoute handler method name

Returns

Promise<unknown[]>

Array of processed parameters or error object

Released under the MIT License.