UNPKG

@kamilkisiela/graphql-tools

Version:

Useful tools to create and manipulate GraphQL schemas.

8 lines (7 loc) 315 B
import { GraphQLResolveInfo } from 'graphql'; /** * Get the key under which the result of this resolver will be placed in the response JSON. Basically, just * resolves aliases. * @param info The info argument to the resolver. */ export declare function getResponseKeyFromInfo(info: GraphQLResolveInfo): string;