-
Notifications
You must be signed in to change notification settings - Fork 96
Add support for args for DataFetcher declared in method #86
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
Add support for args for DataFetcher declared in method #86
Conversation
|
A thing I've noticed while working on this PR is that there are failing tests in current master branch. |
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-bin.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess I should not update this, but I had to otherwise it would not compile in my env. I can revert it back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the -all distro is ok. IDEA suggests it
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-bin.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the -all distro is ok. IDEA suggests it
| import graphql.schema.GraphQLObjectType; | ||
| import graphql.schema.GraphQLSchema; | ||
| import graphql.schema.PropertyDataFetcher; | ||
| import graphql.schema.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please use direct imports. If you are using IDEA, set your min imports to 9999
|
Hi @bbakerman, already made the updates based on latest changes. Is there anything else stopping this from being merged? Thanks! |
This PR fixes #85
It adds the missing support for passing arguments to DataFetchers declared in GraphQLFields that are declared as method. This extends the existing functionality that was only covered for fields.