-
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.
Support for @required and client-edges
Summary: This diff adds runtime support for `required` directives on client-edge fields. In the codegen: - client-edge is wrapped with required field In typegen: - we are generating the correct flow-types for client-edge reader field. In runtime: - ReaderNode updated to reflect that `RequiredField` can have `ReaderClientEdgeToClientObject | ReaderClientEdgeToServerObject` as nodes. Reviewed By: captbaritone Differential Revision: D37187696 fbshipit-source-id: a11eae113dfbaff1a9e60053cd6a8337f5b3deac
- Loading branch information
1 parent
d117221
commit cefab9e
Showing
21 changed files
with
1,822 additions
and
30 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
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.