-
Notifications
You must be signed in to change notification settings - Fork 112
Add DataLoaderRegistry to GraphQLContext #83
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 DataLoaderRegistry to GraphQLContext #83
Conversation
@apottere, Is is possible to get this PR reviewed. I have tested it locally in my application and seems to be working as expected. |
@apottere @andimarek @bbakerman, Is it possible to get this reviewed and merged? The use of data-loaders in spring boot applications vastly simpler with this fix. |
To make it possible to use the data-loaders along other instrumentation (like the It looks like right now it will only use the |
I am not aware of |
bdcbaa6
to
065abc6
Compare
@ryangardner Addressed your comment. Please review. |
This fix is actually dependent on graphql-java/graphql-java#1090 |
065abc6
to
7e7eb4a
Compare
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.
Looks good to me, thanks! @ryangardner This solution ok for you as well?
@apottere Does this PR look good to you as well? If so I suggest we merge this one in right away as well and include it in the next release. |
@ashu-walmart Due to the breaking changes in the 6.0.0 release this branch needed to be reworked to become compatible. I've merged it into your branch and made those changes, can I push it so you can check those changes in this PR as well? |
# Conflicts: # src/main/java/graphql/servlet/GraphQLContext.java # src/main/java/graphql/servlet/GraphQLServlet.java # src/main/java/graphql/servlet/OsgiGraphQLHttpServlet.java # src/main/java/graphql/servlet/SimpleGraphQLServlet.java # src/test/groovy/graphql/servlet/AbstractGraphQLHttpServletSpec.groovy
@oliemansm Yes Please do. |
@ashu-walmart Done, please review. I'll merge it afterwards. |
@oliemansm, Looks good to me. |
@ashu-walmart Thanks, merged it! Will check when we can do a new minor release to push this. |
And return instrumentation in SimpleGraphQLServlet accordingly.