Created
October 23, 2019 01:16
-
-
Save helielson/d5b56713b2603ac6bfdfc923b292e72f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
_traverse(node: NormalizationNode, dataID: DataID): void { | |
const status = this._mutator.getStatus(dataID); | |
if (status === UNKNOWN) { | |
this._handleMissing(); | |
} | |
if (status === EXISTENT) { | |
this._traverseSelections(node.selections, dataID); | |
} | |
} | |
// https://github.com/facebook/relay/blob/a9f872411b82af4a4ae1018f22cc4bd8c12b62fb/packages/relay-runtime/store/DataChecker.js#L247-L255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment