How to use the graphql-parse-resolve-info.getAliasFromResolveInfo function in graphql-parse-resolve-info

To help you get started, we’ve selected a few graphql-parse-resolve-info examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github graphile / graphile-engine / packages / graphile-build / src / makeNewBuild.ts View on Github external
function getSafeAliasFromResolveInfo(
  resolveInfo: import("graphql").GraphQLResolveInfo
) {
  const alias = rawGetAliasFromResolveInfo(resolveInfo);
  return getSafeAliasFromAlias(alias);
}

graphql-parse-resolve-info

Parse GraphQLResolveInfo (the 4th argument of resolve) into a simple tree

MIT
Latest version published 1 year ago

Package Health Score

73 / 100
Full package analysis