relay-runtime 0.0.0-main-ee99ea4b → 0.0.0-main-c2f0f96a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/lib/store/RelayReader.js +25 -22
- package/package.json +1 -1
- package/relay-runtime.js +2 -2
- package/relay-runtime.min.js +2 -2
- package/store/RelayReader.js.flow +4 -1
|
@@ -70,6 +70,9 @@ const {
|
|
|
70
70
|
} = require('../util/RelayConcreteNode');
|
|
71
71
|
const RelayFeatureFlags = require('../util/RelayFeatureFlags');
|
|
72
72
|
const ClientID = require('./ClientID');
|
|
73
|
+
const {
|
|
74
|
+
isSuspenseSentinel,
|
|
75
|
+
} = require('./experimental-live-resolvers/LiveResolverSuspenseSentinel');
|
|
73
76
|
const RelayConcreteVariables = require('./RelayConcreteVariables');
|
|
74
77
|
const RelayModernRecord = require('./RelayModernRecord');
|
|
75
78
|
const {getReactFlightClientResponse} = require('./RelayStoreReactFlightUtils');
|
|
@@ -661,7 +664,7 @@ class RelayReader {
|
|
|
661
664
|
this._traverseSelections([backingField], record, backingFieldData);
|
|
662
665
|
let destinationDataID = backingFieldData[applicationName];
|
|
663
666
|
|
|
664
|
-
if (destinationDataID == null) {
|
|
667
|
+
if (destinationDataID == null || isSuspenseSentinel(destinationDataID)) {
|
|
665
668
|
data[applicationName] = destinationDataID;
|
|
666
669
|
return;
|
|
667
670
|
}
|