@neo4j/graphql
Version:
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations
11 lines • 652 B
TypeScript
import type { ResolveTree } from "graphql-parse-resolve-info";
import type { Neo4jGraphQLComposedContext } from "../schema/resolvers/composition/wrap-query-and-mutation";
/**
* A small extension to {@link Neo4jGraphQLComposedContext}, adding the {@link resolveTree} field.
* This field cannot be added during resolvers composition, because it gets overridden if executing multiple queries under the same operation.
* Each individual resolver populates this field.
*/
export interface Neo4jGraphQLTranslationContext extends Neo4jGraphQLComposedContext {
resolveTree: ResolveTree;
}
//# sourceMappingURL=neo4j-graphql-translation-context.d.ts.map