Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/utilssrcfunctionsgetResponseKeyFromInfo

Function: getResponseKeyFromInfo()

getResponseKeyFromInfo(info): string

Defined in: packages/utils/src/getResponseKeyFromInfo.ts:8

Get the key under which the result of this resolver will be placed in the response JSON. Basically, just resolves aliases.

Parameters

info

GraphQLResolveInfo

The info argument to the resolver.

Returns

string