Skip to content

Conversation

robzhu
Copy link
Contributor

@robzhu robzhu commented Jan 19, 2017

GraphQLInputObjectTypes are confusing to new users of GraphQL. One general distinction between GraphQLObjectType and GraphQLInputObjectType is the use of resolvers: I can't think of a valid case for them to be present on GraphQLInputObjectType. Let's validate this during schema construction and throw a helpful error.

@leebyron leebyron merged commit 7064b9d into graphql:master Jan 20, 2017
@leebyron
Copy link
Contributor

Sweet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants