Hi
I was asked to review PR:
https://github.com/apache/sling-org-apache-sling-graphql-core/pull/38 and I
cannot debug the issue.
So from the output I see this:
- GraphQLServlet.doPostPersistedQuery() fails because the Query validation
returns false
- Response.setError BAD REQUEST
- SlingServletResolver tries to find
/libs/sling/servlet/errorhandler/default.servlet and fails
- org.apache.felix.http.jetty[org.eclipse.jetty.server.HttpOutput writes a
Internal Server Error
- IT Test receives a 500 response status code
I am not versed in the handling of the Error Handler and if that is causing the
issue.
What I see is that even though the BAD Request is set as Error the code is
still returning the Server Error instead.
So this is not a GraphQL issue but rather a testing issue.
Any help is appreciated.
- Andy