From b4ea8ebe59bcaadb86566adba2155f94ca15ad5d Mon Sep 17 00:00:00 2001 From: Shane Myrick Date: Tue, 30 Jun 2020 18:40:49 -0700 Subject: [PATCH] Update the @key directive notes (#787) The GraphQL spec does now support repeatable directives but we are tracking support here: https://github.com/ExpediaGroup/graphql-kotlin/issues/590 --- docs/federated/federated-directives.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/federated/federated-directives.md b/docs/federated/federated-directives.md index 8675aacc06..f78e802b0f 100644 --- a/docs/federated/federated-directives.md +++ b/docs/federated/federated-directives.md @@ -78,8 +78,8 @@ types. Key fields specified in the directive field set should correspond to a va interface/object. Federated extended types should also instrument all the referenced key fields with `@external` directive. -> NOTE: federation spec specifies that multiple @key directives can be applied on the field which is at odds with -> graphql-spec and currently unsupported by graphql-kotlin. +> NOTE: The Federation spec specifies that multiple @key directives can be applied on the field. The GraphQL spec has been recently changed to allow this behavior, +> but we are currently blocked and are tracking progress in [this issue](https://github.com/ExpediaGroup/graphql-kotlin/issues/590). Example