Comments (6)
The solutions you provide:
- Understand another repo code
- Extend one abstraction
- Integrate another framework
1 and 3) Really? The very first line of code and I already have to lookup for issues on github?
2) It is an abstraction! And the Simple impl should be... simple.
Why not improve the documentation and examples? Please tell us how to get started, and use the library.
Not even the release notes states the breaking changes. It makes hard to do fixes.
Unless the readme is updated, this issue should no be closed.
from graphql-java-servlet.
Sorry, didn't realize the constructor is private nowadays. You have a couple of options:
- the approach of @jplock
- extend
AbstractGraphQLHttpServlet
instead ofSimpleGraphQLHttpServlet
- take a look at graphql-spring-boot
from graphql-java-servlet.
In version 6.0.0 the SimpleGraphQLServlet
has been renamed to SimpleGraphQLHttpServlet
. This is quite a recent change. So probably using that should get you going.
from graphql-java-servlet.
@oliemansm Thanks for the lightning fast response.
I tried substituting SimpleGraphQLHttpServlet
for SimpleGraphQLServlet
, but the constructor has private access and the tutorial calls for me to extend the class. Your comment gives me more confidence to tinker some more with SimpleGraphQLHttpServlet
. I'll mess around and see what I can come up with. If all else fails I can always just use a previous version that supports SimpleGraphQLServlet
from graphql-java-servlet.
I just did this upgrade myself yesterday if itβs of any help. smoketurner/dropwizard-graphql@912bf9f
from graphql-java-servlet.
Thanks for the help. This should be more than sufficient for me to get going. Much appreciated.
from graphql-java-servlet.
Related Issues (20)
- GraphQLServletListener.onRequest() can't be guaranteed run before DataFetcher.get() HOT 7
- GraphQLPostInvocationInputParser may distort query string read from HttpServletRequest HOT 1
- A multipart graphql request is sensitive to the default charset of the jvm
- Support new GraphQLContext
- Uncaught exception thrown by HttpRequestInvokerImpl.invoke() causes main thread to "hang"
- Throwable is never a GraphQLError HOT 1
- utf-8 by default HOT 1
- Cannot error handle on creating `GraphqlInvocationInput` HOT 2
- graphql.kickstart.execution.OperationNameExtractor#parseForOperationName does not use PersistedQueryCache
- Allow unparseable query to be logged as a warning instead of an error or allow exception to be handled by server developer HOT 1
- Unable to handle exceptions raised by validation on parsing prior to GraphQL execution
- GraphQLServletListener.RequestCallback.onError not being called even though an exception throws HOT 2
- Support of graphql-transport-ws GraphQL subscription protocol HOT 11
- 48 vulnerabilities from jackson-databind HOT 1
- Servlet fails to recognize application/graphql when charset is specified HOT 1
- support for newer servlet specs HOT 4
- consider making servlet api's provided by server
- Unable to suppress InvocationInputParseException
- New ThreadPool are constantly being created on every http request HOT 2
- Allow customize async running or fully disable library async logic.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-java-servlet.