Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: passing input object as a resolved class doesn't work #249

Merged
merged 1 commit into from
Mar 9, 2017

Conversation

yrashk
Copy link
Contributor

@yrashk yrashk commented Nov 26, 2016

ValueResolver makes an assumption that an object passed through
is always going to be a map.

However, when using graphql-java with graphql-java-annotations and
graphql-java-servlet (GraphQLVariables), the inputs passed through
are already resolved.

Solution: this patch allows to pass such objects through the resolver
unmodified, without throwing an exception.

ValueResolver makes an assumption that an object passed through
is always going to be a map.

However, when using graphql-java with graphql-java-annotations and
graphql-java-servlet (GraphQLVariables), the inputs passed through
are already resolved.

Solution: this patch allows to pass such objects through the resolver
unmodified, without throwing an exception.
@bbakerman bbakerman merged commit 4127d9b into graphql-java:master Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants