From ddd27840ad4c092d9710605e491a0a2bfff557d0 Mon Sep 17 00:00:00 2001 From: Dylan Anthony Date: Fri, 23 Sep 2022 11:39:42 -0600 Subject: [PATCH] test: Fix out of date federation tests --- tests/schemas/test_entity_inaccessible.schema.graphql | 4 ++++ tests/schemas/test_entity_tag.schema.graphql | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tests/schemas/test_entity_inaccessible.schema.graphql b/tests/schemas/test_entity_inaccessible.schema.graphql index 7da5863f..93f8f71a 100644 --- a/tests/schemas/test_entity_inaccessible.schema.graphql +++ b/tests/schemas/test_entity_inaccessible.schema.graphql @@ -65,3 +65,7 @@ extend type Query { } +extend schema @link( + url: "https://specs.apollo.dev/federation/v2.0", + import: ["@key", "@tag", "@shareable", "@inaccessible", "@override", "@external", "@provides", "@requires"] +) diff --git a/tests/schemas/test_entity_tag.schema.graphql b/tests/schemas/test_entity_tag.schema.graphql index d7bdf7aa..1106ac6b 100644 --- a/tests/schemas/test_entity_tag.schema.graphql +++ b/tests/schemas/test_entity_tag.schema.graphql @@ -65,3 +65,7 @@ extend type Query { } +extend schema @link( + url: "https://specs.apollo.dev/federation/v2.0", + import: ["@key", "@tag", "@shareable", "@inaccessible", "@override", "@external", "@provides", "@requires"] +)