A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
10.86k
stars
1.33k
forks
source link
Typescript-Resolver: custom `resolveInfo` type #2746
Closed
ab-pm closed 4 years ago
Hi, we are using the Postgraphile library which not only uses a custom context but also has an extended
resolveInfo
argument. They do provide their ownAugmentedGraphQLFieldResolver
type but since it returnsany
it's not really compatible with the proper resolver types created bygraphl-codegen
.Feature request: Could you please add another configuration option so that one could choose the type of the
ResolveFn
'sinfo
argument?