Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit677c1e3

Browse files
Fix nullable refetchedFragmentRef in checkSameIDAfterRefetch (#4945)
Summary:I call useRefetchableFragment(), e.g. getSomethingById.The backend may return null ("Something" no longer exists).Then the queryData is `{node: null}`fragmentRefPathInResponse is `['node']`so fragmentRef (refetchedFragementRef) is `null`and the`var resultID = refetchedFragmentRef[ID_KEY]` throws `cannot read properties of null`.Pull Requestresolved:#4945Test Plan: Updated to add unit testsReviewed By: lynnshaoyuDifferential Revision: D73461930Pulled By: captbaritonefbshipit-source-id: a98089cdcad8c29e13106fbf4e4aba2e8dc8fafd
1 parent91c22be commit677c1e3

File tree

3 files changed

+3278
-3239
lines changed

3 files changed

+3278
-3239
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp