relay-runtime 0.0.0-main-e83fa8db → 0.0.0-main-c81d7dfe

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/experimental.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-e83fa8db
2
+ * Relay v0.0.0-main-c81d7dfe
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-e83fa8db
2
+ * Relay v0.0.0-main-c81d7dfe
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
@@ -835,6 +835,7 @@ var RelayReader = /*#__PURE__*/function () {
835
835
  fieldValue = null;
836
836
  }
837
837
  data[aliasedInlineFragment.name] = fieldValue;
838
+ return fieldValue;
838
839
  };
839
840
  _proto._readInlineFragment = function _readInlineFragment(inlineFragment, record, data, skipUnmatchedAbstractTypes) {
840
841
  if (inlineFragment.type == null) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "relay-runtime",
3
3
  "description": "A core runtime for building GraphQL-driven applications.",
4
- "version": "0.0.0-main-e83fa8db",
4
+ "version": "0.0.0-main-c81d7dfe",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
@@ -1500,7 +1500,7 @@ class RelayReader {
1500
1500
  aliasedInlineFragment: ReaderAliasedInlineFragmentSpread,
1501
1501
  record: Record,
1502
1502
  data: SelectorData,
1503
- ) {
1503
+ ): ?unknown {
1504
1504
  const prevErrors = this._fieldErrors;
1505
1505
  this._fieldErrors = null;
1506
1506
  let fieldValue = this._readInlineFragment(
@@ -1514,6 +1514,7 @@ class RelayReader {
1514
1514
  fieldValue = null;
1515
1515
  }
1516
1516
  data[aliasedInlineFragment.name] = fieldValue;
1517
+ return fieldValue;
1517
1518
  }
1518
1519
 
1519
1520
  // Has three possible return values: