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 11:06:00 UTC

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

     [ https://issues.apache.org/jira/browse/SLING-10622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-10622.
-----------------------------------------
    Resolution: Fixed

Fixed by commit [b9d8322|https://github.com/apache/sling-org-apache-sling-graphql-schema-aggregator/commit/b9d8322e237012bc75e3b080835a63c4c10db7a3]

> 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
>            Priority: Minor
>             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)