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

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

Radu Cotescu created SLING-10533:
------------------------------------

             Summary: 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
             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)