Resolves a single parameter value from the request context. The result may
be a promise (for body and custom resolvers); callers should await it.
For parameters bound to @Body, @Query, or @Param, a validated value
written to request state under validatedStateKey by validation
middleware takes precedence over the raw request value; presence is checked
with ctx.state.has, so a schema legitimately validating to null or 0
is still honoured. @Header/@Cookie always resolve raw.
Resolves a single parameter value from the request context. The result may be a promise (for
bodyand custom resolvers); callers shouldawaitit.For parameters bound to
@Body,@Query, or@Param, a validated value written to request state undervalidatedStateKeyby validation middleware takes precedence over the raw request value; presence is checked withctx.state.has, so a schema legitimately validating tonullor0is still honoured.@Header/@Cookiealways resolve raw.