Ctx Decorator
Ctx
Resolver param decorator which extracts the RequestContext from the incoming request object.
Example
@Query()
getAdministrators(@Ctx() ctx: RequestContext) {
// ...
}
🚨 Announcing Vendure v2 Beta
Resolver param decorator which extracts the RequestContext from the incoming request object.
Example
@Query()
getAdministrators(@Ctx() ctx: RequestContext) {
// ...
}