MCPcopy
hub / github.com/graphile/starter / GraphileApolloLinkInterface

Interface GraphileApolloLinkInterface

@app/lib/src/GraphileApolloLink.ts:12–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import { HttpRequestHandler } from "postgraphile";
11
12export interface GraphileApolloLinkInterface {
13 /** The request object. */
14 req: Request;
15
16 /** The response object. */
17 res: Response;
18
19 /** The instance of the express middleware returned by calling `postgraphile()` */
20 postgraphileMiddleware: HttpRequestHandler<Request, Response>;
21
22 /** An optional rootValue to use inside resolvers. */
23 rootValue?: any;
24}
25
26/**
27 * A Graphile Apollo link for use during SSR. Allows Apollo Client to resolve

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected