relay-runtime 0.0.0-main-233d41b6 → 0.0.0-main-e3c7a009

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.
Files changed (224) hide show
  1. package/handlers/RelayDefaultHandlerProvider.js.flow +1 -0
  2. package/handlers/connection/ConnectionHandler.js.flow +1 -0
  3. package/handlers/connection/ConnectionInterface.js.flow +1 -0
  4. package/handlers/connection/MutationHandlers.js.flow +1 -0
  5. package/index.js +1 -1
  6. package/index.js.flow +1 -0
  7. package/lib/handlers/RelayDefaultHandlerProvider.js +1 -0
  8. package/lib/handlers/connection/ConnectionHandler.js +1 -0
  9. package/lib/handlers/connection/ConnectionInterface.js +1 -0
  10. package/lib/handlers/connection/MutationHandlers.js +1 -0
  11. package/lib/index.js +1 -0
  12. package/lib/multi-actor-environment/ActorIdentifier.js +1 -1
  13. package/lib/multi-actor-environment/ActorSpecificEnvironment.js +1 -1
  14. package/lib/multi-actor-environment/ActorUtils.js +1 -1
  15. package/lib/multi-actor-environment/MultiActorEnvironment.js +1 -1
  16. package/lib/multi-actor-environment/MultiActorEnvironmentTypes.js +1 -1
  17. package/lib/multi-actor-environment/index.js +1 -1
  18. package/lib/mutations/RelayDeclarativeMutationConfig.js +1 -0
  19. package/lib/mutations/RelayRecordProxy.js +1 -0
  20. package/lib/mutations/RelayRecordSourceMutator.js +1 -0
  21. package/lib/mutations/RelayRecordSourceProxy.js +1 -0
  22. package/lib/mutations/RelayRecordSourceSelectorProxy.js +1 -0
  23. package/lib/mutations/applyOptimisticMutation.js +1 -0
  24. package/lib/mutations/commitLocalUpdate.js +1 -0
  25. package/lib/mutations/commitMutation.js +1 -0
  26. package/lib/mutations/createUpdatableProxy.js +1 -1
  27. package/lib/mutations/readUpdatableFragment_EXPERIMENTAL.js +1 -1
  28. package/lib/mutations/readUpdatableQuery_EXPERIMENTAL.js +1 -1
  29. package/lib/mutations/validateMutation.js +1 -0
  30. package/lib/network/ConvertToExecuteFunction.js +1 -0
  31. package/lib/network/RelayNetwork.js +1 -0
  32. package/lib/network/RelayNetworkTypes.js +1 -0
  33. package/lib/network/RelayObservable.js +1 -0
  34. package/lib/network/RelayQueryResponseCache.js +1 -0
  35. package/lib/network/wrapNetworkWithLogObserver.js +1 -0
  36. package/lib/query/GraphQLTag.js +1 -0
  37. package/lib/query/PreloadableQueryRegistry.js +1 -1
  38. package/lib/query/fetchQuery.js +1 -1
  39. package/lib/query/fetchQueryInternal.js +1 -0
  40. package/lib/query/fetchQuery_DEPRECATED.js +1 -0
  41. package/lib/store/ClientID.js +1 -0
  42. package/lib/store/DataChecker.js +1 -1
  43. package/lib/store/OperationExecutor.js +1 -1
  44. package/lib/store/RelayConcreteVariables.js +1 -0
  45. package/lib/store/RelayExperimentalGraphResponseHandler.js +1 -1
  46. package/lib/store/RelayExperimentalGraphResponseTransform.js +1 -1
  47. package/lib/store/RelayModernEnvironment.js +1 -1
  48. package/lib/store/RelayModernFragmentSpecResolver.js +1 -0
  49. package/lib/store/RelayModernOperationDescriptor.js +1 -0
  50. package/lib/store/RelayModernRecord.js +1 -0
  51. package/lib/store/RelayModernSelector.js +1 -0
  52. package/lib/store/RelayModernStore.js +1 -0
  53. package/lib/store/RelayOperationTracker.js +1 -0
  54. package/lib/store/RelayOptimisticRecordSource.js +1 -0
  55. package/lib/store/RelayPublishQueue.js +1 -0
  56. package/lib/store/RelayReader.js +5 -4
  57. package/lib/store/RelayRecordSource.js +1 -0
  58. package/lib/store/RelayRecordState.js +1 -0
  59. package/lib/store/RelayReferenceMarker.js +1 -0
  60. package/lib/store/RelayResponseNormalizer.js +1 -0
  61. package/lib/store/RelayStoreReactFlightUtils.js +1 -0
  62. package/lib/store/RelayStoreSubscriptions.js +1 -0
  63. package/lib/store/RelayStoreTypes.js +1 -0
  64. package/lib/store/RelayStoreUtils.js +1 -0
  65. package/lib/store/ResolverCache.js +17 -6
  66. package/lib/store/ResolverFragments.js +1 -0
  67. package/lib/store/StoreInspector.js +1 -1
  68. package/lib/store/TypeID.js +1 -0
  69. package/lib/store/ViewerPattern.js +1 -0
  70. package/lib/store/cloneRelayHandleSourceField.js +1 -0
  71. package/lib/store/cloneRelayScalarHandleSourceField.js +1 -0
  72. package/lib/store/createFragmentSpecResolver.js +1 -0
  73. package/lib/store/createRelayContext.js +1 -0
  74. package/lib/store/defaultGetDataID.js +1 -0
  75. package/lib/store/defaultRequiredFieldLogger.js +1 -0
  76. package/lib/store/experimental-live-resolvers/LiveResolverCache.js +77 -21
  77. package/lib/store/experimental-live-resolvers/LiveResolverStore.js +6 -1
  78. package/lib/store/experimental-live-resolvers/LiveResolverSuspenseSentinel.js +1 -1
  79. package/lib/store/hasOverlappingIDs.js +1 -0
  80. package/lib/store/isRelayModernEnvironment.js +1 -0
  81. package/lib/store/normalizeRelayPayload.js +1 -0
  82. package/lib/store/readInlineData.js +1 -0
  83. package/lib/subscription/requestSubscription.js +1 -0
  84. package/lib/util/JSResourceTypes.flow.js +1 -1
  85. package/lib/util/NormalizationNode.js +1 -0
  86. package/lib/util/ReaderNode.js +1 -0
  87. package/lib/util/RelayConcreteNode.js +1 -0
  88. package/lib/util/RelayDefaultHandleKey.js +1 -0
  89. package/lib/util/RelayError.js +1 -0
  90. package/lib/util/RelayFeatureFlags.js +1 -0
  91. package/lib/util/RelayProfiler.js +1 -0
  92. package/lib/util/RelayReplaySubject.js +1 -0
  93. package/lib/util/RelayRuntimeTypes.js +1 -0
  94. package/lib/util/StringInterner.js +1 -0
  95. package/lib/util/createPayloadFor3DField.js +1 -1
  96. package/lib/util/deepFreeze.js +1 -0
  97. package/lib/util/generateID.js +1 -0
  98. package/lib/util/getFragmentIdentifier.js +1 -1
  99. package/lib/util/getOperation.js +1 -1
  100. package/lib/util/getPaginationMetadata.js +1 -1
  101. package/lib/util/getPaginationVariables.js +1 -1
  102. package/lib/util/getPendingOperationsForFragment.js +1 -1
  103. package/lib/util/getRefetchMetadata.js +1 -1
  104. package/lib/util/getRelayHandleKey.js +1 -0
  105. package/lib/util/getRequestIdentifier.js +1 -0
  106. package/lib/util/getValueAtPath.js +1 -1
  107. package/lib/util/handlePotentialSnapshotErrors.js +1 -1
  108. package/lib/util/isEmptyObject.js +1 -1
  109. package/lib/util/isPromise.js +1 -0
  110. package/lib/util/isScalarAndEqual.js +1 -0
  111. package/lib/util/recycleNodesInto.js +1 -0
  112. package/lib/util/registerEnvironmentWithDevTools.js +1 -1
  113. package/lib/util/resolveImmediate.js +1 -0
  114. package/lib/util/stableCopy.js +1 -0
  115. package/lib/util/withDuration.js +1 -0
  116. package/lib/util/withProvidedVariables.js +1 -1
  117. package/multi-actor-environment/ActorIdentifier.js.flow +1 -1
  118. package/multi-actor-environment/ActorSpecificEnvironment.js.flow +1 -1
  119. package/multi-actor-environment/ActorUtils.js.flow +1 -1
  120. package/multi-actor-environment/MultiActorEnvironment.js.flow +1 -1
  121. package/multi-actor-environment/MultiActorEnvironmentTypes.js.flow +1 -1
  122. package/multi-actor-environment/index.js.flow +1 -1
  123. package/mutations/RelayDeclarativeMutationConfig.js.flow +1 -0
  124. package/mutations/RelayRecordProxy.js.flow +1 -0
  125. package/mutations/RelayRecordSourceMutator.js.flow +1 -0
  126. package/mutations/RelayRecordSourceProxy.js.flow +1 -1
  127. package/mutations/RelayRecordSourceSelectorProxy.js.flow +1 -0
  128. package/mutations/applyOptimisticMutation.js.flow +1 -0
  129. package/mutations/commitLocalUpdate.js.flow +1 -0
  130. package/mutations/commitMutation.js.flow +1 -0
  131. package/mutations/createUpdatableProxy.js.flow +1 -1
  132. package/mutations/readUpdatableFragment_EXPERIMENTAL.js.flow +1 -1
  133. package/mutations/readUpdatableQuery_EXPERIMENTAL.js.flow +1 -1
  134. package/mutations/validateMutation.js.flow +1 -0
  135. package/network/ConvertToExecuteFunction.js.flow +1 -0
  136. package/network/RelayNetwork.js.flow +1 -0
  137. package/network/RelayNetworkTypes.js.flow +1 -0
  138. package/network/RelayObservable.js.flow +1 -0
  139. package/network/RelayQueryResponseCache.js.flow +1 -0
  140. package/network/wrapNetworkWithLogObserver.js.flow +1 -0
  141. package/package.json +1 -1
  142. package/query/GraphQLTag.js.flow +1 -0
  143. package/query/PreloadableQueryRegistry.js.flow +1 -1
  144. package/query/fetchQuery.js.flow +1 -1
  145. package/query/fetchQueryInternal.js.flow +1 -0
  146. package/query/fetchQuery_DEPRECATED.js.flow +1 -0
  147. package/relay-runtime.js +2 -2
  148. package/relay-runtime.min.js +2 -2
  149. package/store/ClientID.js.flow +1 -0
  150. package/store/DataChecker.js.flow +1 -1
  151. package/store/OperationExecutor.js.flow +1 -1
  152. package/store/RelayConcreteVariables.js.flow +1 -0
  153. package/store/RelayExperimentalGraphResponseHandler.js.flow +1 -1
  154. package/store/RelayExperimentalGraphResponseTransform.js.flow +1 -1
  155. package/store/RelayModernEnvironment.js.flow +1 -1
  156. package/store/RelayModernFragmentSpecResolver.js.flow +1 -0
  157. package/store/RelayModernOperationDescriptor.js.flow +1 -0
  158. package/store/RelayModernRecord.js.flow +1 -0
  159. package/store/RelayModernSelector.js.flow +1 -0
  160. package/store/RelayModernStore.js.flow +1 -0
  161. package/store/RelayOperationTracker.js.flow +1 -0
  162. package/store/RelayOptimisticRecordSource.js.flow +1 -0
  163. package/store/RelayPublishQueue.js.flow +1 -0
  164. package/store/RelayReader.js.flow +6 -4
  165. package/store/RelayRecordSource.js.flow +1 -0
  166. package/store/RelayRecordState.js.flow +1 -0
  167. package/store/RelayReferenceMarker.js.flow +1 -0
  168. package/store/RelayResponseNormalizer.js.flow +1 -0
  169. package/store/RelayStoreReactFlightUtils.js.flow +1 -0
  170. package/store/RelayStoreSubscriptions.js.flow +1 -0
  171. package/store/RelayStoreTypes.js.flow +1 -0
  172. package/store/RelayStoreUtils.js.flow +1 -0
  173. package/store/ResolverCache.js.flow +22 -6
  174. package/store/ResolverFragments.js.flow +1 -0
  175. package/store/StoreInspector.js.flow +1 -1
  176. package/store/TypeID.js.flow +1 -0
  177. package/store/ViewerPattern.js.flow +1 -0
  178. package/store/cloneRelayHandleSourceField.js.flow +1 -0
  179. package/store/cloneRelayScalarHandleSourceField.js.flow +1 -0
  180. package/store/createFragmentSpecResolver.js.flow +1 -0
  181. package/store/createRelayContext.js.flow +1 -0
  182. package/store/defaultGetDataID.js.flow +1 -0
  183. package/store/defaultRequiredFieldLogger.js.flow +1 -0
  184. package/store/experimental-live-resolvers/LiveResolverCache.js.flow +82 -14
  185. package/store/experimental-live-resolvers/LiveResolverStore.js.flow +4 -0
  186. package/store/experimental-live-resolvers/LiveResolverSuspenseSentinel.js.flow +1 -1
  187. package/store/hasOverlappingIDs.js.flow +1 -0
  188. package/store/isRelayModernEnvironment.js.flow +1 -0
  189. package/store/normalizeRelayPayload.js.flow +1 -0
  190. package/store/readInlineData.js.flow +1 -0
  191. package/subscription/requestSubscription.js.flow +1 -0
  192. package/util/JSResourceTypes.flow.js.flow +1 -1
  193. package/util/NormalizationNode.js.flow +1 -0
  194. package/util/ReaderNode.js.flow +3 -0
  195. package/util/RelayConcreteNode.js.flow +1 -0
  196. package/util/RelayDefaultHandleKey.js.flow +1 -0
  197. package/util/RelayError.js.flow +1 -0
  198. package/util/RelayFeatureFlags.js.flow +1 -0
  199. package/util/RelayProfiler.js.flow +1 -0
  200. package/util/RelayReplaySubject.js.flow +1 -0
  201. package/util/RelayRuntimeTypes.js.flow +2 -0
  202. package/util/StringInterner.js.flow +1 -0
  203. package/util/createPayloadFor3DField.js.flow +2 -1
  204. package/util/deepFreeze.js.flow +1 -0
  205. package/util/generateID.js.flow +1 -0
  206. package/util/getFragmentIdentifier.js.flow +1 -1
  207. package/util/getOperation.js.flow +1 -1
  208. package/util/getPaginationMetadata.js.flow +1 -1
  209. package/util/getPaginationVariables.js.flow +1 -1
  210. package/util/getPendingOperationsForFragment.js.flow +1 -1
  211. package/util/getRefetchMetadata.js.flow +1 -1
  212. package/util/getRelayHandleKey.js.flow +1 -0
  213. package/util/getRequestIdentifier.js.flow +1 -0
  214. package/util/getValueAtPath.js.flow +1 -1
  215. package/util/handlePotentialSnapshotErrors.js.flow +1 -1
  216. package/util/isEmptyObject.js.flow +1 -1
  217. package/util/isPromise.js.flow +1 -0
  218. package/util/isScalarAndEqual.js.flow +1 -0
  219. package/util/recycleNodesInto.js.flow +1 -0
  220. package/util/registerEnvironmentWithDevTools.js.flow +1 -1
  221. package/util/resolveImmediate.js.flow +1 -0
  222. package/util/stableCopy.js.flow +1 -0
  223. package/util/withDuration.js.flow +1 -0
  224. package/util/withProvidedVariables.js.flow +1 -1
@@ -6,6 +6,7 @@
6
6
  *
7
7
  * @flow strict-local
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
 
11
12
  'use strict';
@@ -6,6 +6,7 @@
6
6
  *
7
7
  * @flow
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
 
11
12
  'use strict';
@@ -6,6 +6,7 @@
6
6
  *
7
7
  * @flow strict-local
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
 
11
12
  'use strict';
@@ -6,6 +6,7 @@
6
6
  *
7
7
  * @flow
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
 
11
12
  'use strict';
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-233d41b6
2
+ * Relay v0.0.0-main-e3c7a009
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/index.js.flow CHANGED
@@ -6,6 +6,7 @@
6
6
  *
7
7
  * @flow strict-local
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
 
11
12
  'use strict';
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
package/lib/index.js CHANGED
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  *
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
  /**
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  *
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  *
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  *
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -4,8 +4,8 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  *
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  *
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -5,8 +5,8 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  *
8
- * @emails oncall+relay
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -5,8 +5,8 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  *
8
- * @emails oncall+relay
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -5,8 +5,8 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  *
8
- * @emails oncall+relay
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,5 +6,6 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  *
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  *
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,7 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
- * @emails oncall+relay
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -6,7 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
- * @emails oncall+relay
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -15,9 +15,9 @@ var _createForOfIteratorHelper2 = _interopRequireDefault(require("@babel/runtime
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
17
  *
18
- * @emails oncall+relay
19
18
  *
20
19
  * @format
20
+ * @oncall relay
21
21
  */
22
22
  var RelayModernRecord = require('./RelayModernRecord');
23
23
 
@@ -21,9 +21,9 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
21
21
  * This source code is licensed under the MIT license found in the
22
22
  * LICENSE file in the root directory of this source tree.
23
23
  *
24
- * @emails oncall+relay
25
24
  *
26
25
  * @format
26
+ * @oncall relay
27
27
  */
28
28
  var _require = require('../util/RelayConcreteNode'),
29
29
  CLIENT_EXTENSION = _require.CLIENT_EXTENSION,
@@ -5,8 +5,8 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  *
8
- * @emails oncall+relay
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
  'use strict';
12
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -219,7 +220,7 @@ var RelayReader = /*#__PURE__*/function () {
219
220
  return this._variables[name];
220
221
  };
221
222
 
222
- _proto._maybeReportUnexpectedNull = function _maybeReportUnexpectedNull(fieldPath, action, record) {
223
+ _proto._maybeReportUnexpectedNull = function _maybeReportUnexpectedNull(fieldPath, action, _record) {
223
224
  var _this$_missingRequire;
224
225
 
225
226
  if (((_this$_missingRequire = this._missingRequiredFields) === null || _this$_missingRequire === void 0 ? void 0 : _this$_missingRequire.action) === 'THROW') {
@@ -386,10 +387,10 @@ var RelayReader = /*#__PURE__*/function () {
386
387
 
387
388
  var _hasExpectedData = this._traverseSelections(selection.selections, record, data); // The only case where we want to suspend due to missing data off of
388
389
  // a client extension is if we reached a client edge that we might be
389
- // able to fetch:
390
+ // able to fetch, or there is a missing data in one of the live resolvers.
390
391
 
391
392
 
392
- this._isMissingData = isMissingData || this._missingClientEdges.length > alreadyMissingClientEdges;
393
+ this._isMissingData = isMissingData || this._missingClientEdges.length > alreadyMissingClientEdges || this._missingLiveResolverFields.length > 0;
393
394
 
394
395
  if (RelayFeatureFlags.ENABLE_CLIENT_EDGES) {
395
396
  this._clientEdgeTraversalPath.pop();
@@ -554,7 +555,7 @@ var RelayReader = /*#__PURE__*/function () {
554
555
  }
555
556
  };
556
557
 
557
- var _this$_resolverCache$ = this._resolverCache.readFromCacheOrEvaluate(record, field, this._variables, evaluate, getDataForResolverFragment),
558
+ var _this$_resolverCache$ = this._resolverCache.readFromCacheOrEvaluate(RelayModernRecord.getDataID(record), field, this._variables, evaluate, getDataForResolverFragment),
558
559
  result = _this$_resolverCache$[0],
559
560
  seenRecord = _this$_resolverCache$[1],
560
561
  resolverError = _this$_resolverCache$[2],
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12
 
@@ -6,5 +6,6 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
@@ -6,6 +6,7 @@
6
6
  *
7
7
  *
8
8
  * @format
9
+ * @oncall relay
9
10
  */
10
11
  'use strict';
11
12