relay-runtime 0.0.0-main-de840b22 → 0.0.0-main-a1c09cf7

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.
@@ -54,7 +54,7 @@ function handleFieldErrors(
54
54
  for (const fieldError of errorResponseFields) {
55
55
  const {path, owner, error} = fieldError;
56
56
  if (fieldError.type === 'MISSING_DATA') {
57
- logMissingData(environment, shouldThrow);
57
+ // _logMissingData(environment, shouldThrow);
58
58
  } else {
59
59
  environment.relayFieldLogger({
60
60
  kind: 'relay_field_payload.error',
@@ -74,7 +74,7 @@ function handleFieldErrors(
74
74
  }
75
75
  }
76
76
 
77
- function logMissingData(environment: IEnvironment, throwing: boolean) {
77
+ function _logMissingData(environment: IEnvironment, throwing: boolean) {
78
78
  if (!throwing) {
79
79
  environment.relayFieldLogger({
80
80
  kind: 'missing_expected_data.log',
@@ -127,7 +127,7 @@ function handleMissingDataError(
127
127
  environment: IEnvironment,
128
128
  throwOnFieldErrorDirective: boolean,
129
129
  ) {
130
- logMissingData(environment, throwOnFieldErrorDirective);
130
+ // _logMissingData(environment, throwOnFieldErrorDirective);
131
131
 
132
132
  if (throwOnFieldErrorDirective) {
133
133
  throw new RelayFieldError(`Relay: Missing data for one or more fields`);