From 468af8083a065019a5bf900a1cadb6badaaa257f Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Tue, 3 Sep 2024 14:02:21 -0600 Subject: [PATCH] Fix regression for warning --- .changeset/forty-news-turn.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/forty-news-turn.md diff --git a/.changeset/forty-news-turn.md b/.changeset/forty-news-turn.md new file mode 100644 index 00000000000..0754e5621d9 --- /dev/null +++ b/.changeset/forty-news-turn.md @@ -0,0 +1,5 @@ +--- +"@apollo/client": patch +--- + +Fixes a regression from where passing an invalid identifier to `from` in `useFragment` would result in the warning `TypeError: Cannot read properties of undefined (reading '__typename')`.