Skip to content

apollo.Interface.ReportDenialsApolloPlugin

github-actions[bot] edited this page Nov 30, 2026 · 6 revisions

Interface: ReportDenialsApolloPlugin

Defined in: packages/graphql-casl/src/apollo.ts:51

The slice of Apollo Server's ApolloServerPlugin that reportDenialsPlugin implements. Structurally compatible with the real interface — every hook Apollo defines is optional — so the returned object goes straight into plugins without a type from @apollo/server.

Methods

requestDidStart()

requestDidStart(requestContext): Promise<{
  willSendResponse: Promise<void>;
}>;

Defined in: packages/graphql-casl/src/apollo.ts:52

Parameters

requestContext
contextValue

unknown

Returns

Promise<{ willSendResponse: Promise<void>; }>

API Reference

Clone this wiki locally