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/12 15:38:00 UTC

[jira] [Closed] (SLING-10533) The @connection directive cannot be used with interfaces

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

Bertrand Delacretaz closed SLING-10533.
---------------------------------------

> The @connection directive cannot be used with interfaces
> --------------------------------------------------------
>
>                 Key: SLING-10533
>                 URL: https://issues.apache.org/jira/browse/SLING-10533
>             Project: Sling
>          Issue Type: Bug
>          Components: GraphQL
>    Affects Versions: GraphQL Core 0.0.10
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>            Priority: Major
>             Fix For: GraphQL Core 0.0.12
>
>
> The {{\@connection}} directive cannot currently use interfaces in its {{for}} argument, since the current implementation expect the type to be an {{ObjectTypeDefinition}}. In practice, this can be just a {{TypeDefinition}}, since only its name is required to generate the Relay types.



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