You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it not be possible to add GraphQLOutputType to the GraphQLFieldConfig type parameters in order to constrain the return type of the GraphQLFieldResolver?
I noticed that the args type for GraphQLFieldResolver has been relaxed to any. Wouldn't it be possible to use $ObjMap to constrain both args and output?
The text was updated successfully, but these errors were encountered:
Would it not be possible to add GraphQLOutputType to the GraphQLFieldConfig type parameters in order to constrain the return type of the GraphQLFieldResolver?
https://github.com/graphql/graphql-js/blob/master/src/type/definition.js#L587-L593
I noticed that the args type for GraphQLFieldResolver has been relaxed to any. Wouldn't it be possible to use $ObjMap to constrain both args and output?
The text was updated successfully, but these errors were encountered: