relay-runtime 0.0.0-main-d9d8783e → 0.0.0-main-c844a5ba

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.
@@ -483,8 +483,7 @@ class RelayReader {
483
483
  if (!RelayFeatureFlags.ENABLE_RELAY_RESOLVERS) {
484
484
  throw new Error('Relay Resolver fields are not yet supported.');
485
485
  }
486
- this._readResolverField(selection.field, record, data);
487
- break;
486
+ return this._readResolverField(selection.field, record, data);
488
487
  default:
489
488
  (selection.field.kind: empty);
490
489
  invariant(
@@ -499,7 +498,7 @@ class RelayReader {
499
498
  field: ReaderRelayResolver,
500
499
  record: Record,
501
500
  data: SelectorData,
502
- ): void {
501
+ ): mixed {
503
502
  const {resolverModule, fragment} = field;
504
503
  const storageKey = getStorageKey(field, this._variables);
505
504
  const resolverID = ClientID.generateClientID(
@@ -575,6 +574,7 @@ class RelayReader {
575
574
 
576
575
  const applicationName = field.alias ?? field.name;
577
576
  data[applicationName] = result;
577
+ return result;
578
578
  }
579
579
 
580
580
  _readClientEdge(