smallrye-graphql
smallrye-graphql copied to clipboard
Support for returning void from GraphQL Mutation
By default GraphQL does not support returning nothing. It would be nice to have return void or Uni<Void> from a GraphQL mutation in the smallrye's implementation. Right now, if a mutation returns void, an exception is thrown graphql.AssertException: type Void not found in schema. I am using smallrye-graphql extension in Quarkus.
Related discussion is https://github.com/quarkusio/quarkus/discussions/25381.
Thank you.