From 68fb2ddfb9a34b94bdebbc56c838fb6fb36a506d Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Mon, 13 Feb 2023 10:03:35 +0100 Subject: [PATCH 1/2] Remove Query._entities when extracting original SDL from Fed v2 --- packages/libraries/client/src/internal/reporting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/libraries/client/src/internal/reporting.ts b/packages/libraries/client/src/internal/reporting.ts index 82aaf04527..394c5de5fd 100644 --- a/packages/libraries/client/src/internal/reporting.ts +++ b/packages/libraries/client/src/internal/reporting.ts @@ -209,7 +209,7 @@ const federationV2 = { 'tag', ]), types: new Set(['_Service']), - queryFields: new Set(['_service']), + queryFields: new Set(['_service', '_entities']), }; /** From b98936ac68d41a25021258906e5ae9611ee7dfb7 Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Mon, 13 Feb 2023 10:05:02 +0100 Subject: [PATCH 2/2] Create long-cherries-invite.md --- .changeset/long-cherries-invite.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/long-cherries-invite.md diff --git a/.changeset/long-cherries-invite.md b/.changeset/long-cherries-invite.md new file mode 100644 index 0000000000..f97bf284c6 --- /dev/null +++ b/.changeset/long-cherries-invite.md @@ -0,0 +1,5 @@ +--- +"@graphql-hive/client": patch +--- + +Remove `Query._entities` when extracting original SDL from Fed v2