You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Jira)" <ji...@apache.org> on 2021/07/16 08:38:00 UTC

[jira] [Created] (SLING-10622) Query type is required in the aggregated GraphQL schema

Bertrand Delacretaz created SLING-10622:
-------------------------------------------

             Summary: Query type is required in the aggregated GraphQL schema
                 Key: SLING-10622
                 URL: https://issues.apache.org/jira/browse/SLING-10622
             Project: Sling
          Issue Type: Improvement
          Components: GraphQL
            Reporter: Bertrand Delacretaz
            Assignee: Bertrand Delacretaz
             Fix For: GraphQL Schema Aggregator 0.0.2


Even if a schema only uses Mutation, which might be valid for a schema that's only about commands for example, the Query type is required.

The aggregator should always generate a "type Query {}" in the output, even if it is empty.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)