-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mirror: initialize a GraphQL database mirror
Summary: This commit introduces the `Mirror` class that will be the centerpiece of the persistent-loading API as described in #622. An instance of this class represents a mirror of a remote GraphQL database, defined by a particular schema. In this commit, we add the construction logic, which includes a safety measure to ensure that the database is used within one version of the code and schema. Test Plan: Unit tests included, with full coverage; run `yarn unit`. wchargin-branch: mirror-class
- Loading branch information
Showing
2 changed files
with
174 additions
and
1 deletion.
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