From 521b9d15dd6ee62d95e33ecd6e29c7303f774d4d Mon Sep 17 00:00:00 2001 From: Nicolas Charpentier Date: Wed, 18 Dec 2024 15:16:03 -0500 Subject: [PATCH] Add changeset --- .changeset/gorgeous-sheep-knock.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/gorgeous-sheep-knock.md diff --git a/.changeset/gorgeous-sheep-knock.md b/.changeset/gorgeous-sheep-knock.md new file mode 100644 index 00000000000..cc4396ea792 --- /dev/null +++ b/.changeset/gorgeous-sheep-knock.md @@ -0,0 +1,5 @@ +--- +"@apollo/client": minor +--- + +Fix an issue with `refetchQueries` where comparing `DocumentNode`s internally by references could lead to an unknown query, even though the `DocumentNode` was indeed an active query—with a different reference. They are now compared as strings.