Interface: ODataRequestContext
Defined in: context/odata-request-context.ts:13
The request an OData operation runs for.
Adapters read it to hand application hooks (for example the TypeORM adapter's row-level scopes) the Nest ExecutionContext and the underlying request object, without the hooks having to be request-scoped providers.
Properties
executionContext?
readonlyoptionalexecutionContext?:ExecutionContext
Defined in: context/odata-request-context.ts:18
The Nest execution context of the route being handled. A $batch operation runs through its own route, so this is that route's context (see getODataBatchPart()).
request?
readonlyoptionalrequest?:unknown
Defined in: context/odata-request-context.ts:20
The platform request object (Express or Fastify request) when the route is HTTP.