-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error messages related to @refetchable
Summary: * Improve error messages related to refetchable * Note that our logic is wrong: * It looks like we currently accept interfaces, as long as all of their (directly) implementing objects implement Node. However, an interface is an "open" union, i.e. there could always be new concrete types that implement a given interface that we receive at runtime! These new types may not implement node, and we may not be able to refetch them. * There is also the separate bug that we should probably correctly handle recursively implementing objects, but that's a new addition so it makes sense that this bug exists. Reviewed By: tyao1 Differential Revision: D41507465 fbshipit-source-id: 99f3cf6d3603e5a6a4cf490d61b8115a6dbf36f1
- Loading branch information
1 parent
bf8fa2f
commit 8eea4aa
Showing
7 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters