Skip to content

AlterApolloContext

@tsed/apollo

Usage

typescript
import { AlterApolloContext } from "@tsed/apollo";

See /packages/graphql/apollo/src/types/interfaces/AlterApolloContext.ts.

Overview

ts
interface AlterApolloContext<Context extends ApolloContext = ApolloContext> {
    $alterApolloContext(context: Context, $ctx: PlatformContext): Context | Promise<Context>;
}

$alterApolloContext

ts
$alterApolloContext(context: Context, $ctx: PlatformContext): Context | Promise<Context>;

Released under the MIT License.