[
https://issues.apache.org/jira/browse/SLING-10533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu resolved SLING-10533.
----------------------------------
Resolution: Fixed
Fixed in [commit
078bfb4|https://github.com/apache/sling-org-apache-sling-graphql-core/commit/078bfb4].
> 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)