forked from facebook/relay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support @catch directive in RelayReader
Summary: This is initial support for catch - it adds the appropriate errors to the snapshot. In case of a caught required, it deletes the original required error - and moves it over to a to:RESULT error in fieldErrors. This does not include providing the error in hooks and such yet. This is the initial preparation for exposing the result in a catch manner rather than throwing. Reviewed By: tyao1 Differential Revision: D54806505 fbshipit-source-id: c0b3884fcde1e9f9c7f9ac4e37eef8842588e3d1
- Loading branch information
1 parent
7b69061
commit 696a1b3
Showing
10 changed files
with
781 additions
and
15 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
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
Oops, something went wrong.