relay-runtime 0.0.0-main-e42b6015 → 0.0.0-main-e5ecdc9b

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.
@@ -790,9 +790,7 @@ class RelayReader {
790
790
  fieldPath,
791
791
  owner: this._fragmentName,
792
792
  error: resolverError,
793
- shouldThrow:
794
- this._selector.node.metadata?.throwOnFieldError ??
795
- RelayFeatureFlags.ENABLE_FIELD_ERROR_HANDLING_THROW_BY_DEFAULT,
793
+ shouldThrow: this._selector.node.metadata?.throwOnFieldError ?? false,
796
794
  handled: false,
797
795
  };
798
796
  if (this._errorResponseFields == null) {
@@ -38,12 +38,6 @@ export type FeatureFlags = {
38
38
  ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION: boolean,
39
39
  ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES: boolean,
40
40
 
41
- // Configure whether Relay should handle any field errors that it encounteres
42
- // in a partial response.
43
- // @see https://spec.graphql.org/October2021/#sec-Handling-Field-Errors
44
-
45
- ENABLE_FIELD_ERROR_HANDLING_THROW_BY_DEFAULT: boolean,
46
-
47
41
  PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION: boolean,
48
42
 
49
43
  // Temporary flag to enable a gradual rollout of the fix for T185969900
@@ -76,7 +70,6 @@ const RelayFeatureFlags: FeatureFlags = {
76
70
  ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION: false,
77
71
  ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES: false,
78
72
  ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE: false,
79
- ENABLE_FIELD_ERROR_HANDLING_THROW_BY_DEFAULT: false,
80
73
  PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION: false,
81
74
  MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD: false,
82
75
  ENABLE_CYLE_DETECTION_IN_VARIABLES: false,