Quarkus throws InvalidSchemaException when GraphQL has no query #25434
-
Hello, In a REST API, it is optional to have a GET endpoint. However, when I try to do the same with GraphQL, I am getting exception - I made a small reproducer to replicate the exception I am getting. It is available at https://github.com/zbhavyai/quarkus-graphql-noquery-reproducer. I am using Quarkus versions 2.8.3.Final. So, I would like to know, is it a GraphQL limitation? Also, can this handled by quarkus/smallrye to avoid making dummy Queries? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
/cc @jmartisk, @phillip-kruger |
Beta Was this translation helpful? Give feedback.
-
This is correct. See smallrye/smallrye-graphql#717 |
Beta Was this translation helpful? Give feedback.
This is correct. See smallrye/smallrye-graphql#717