relay-runtime 0.0.0-main-e650439c → 0.0.0-main-7fdd8a85

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-e650439c
2
+ * Relay v0.0.0-main-7fdd8a85
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
@@ -526,8 +526,12 @@ var RelayReader = /*#__PURE__*/function () {
526
526
  var resolverError = null;
527
527
 
528
528
  try {
529
- // $FlowFixMe[prop-missing] - resolver module's type signature is a lie
530
- resolverResult = resolverModule(key);
529
+ var args = field.args ? getArgumentValues(field.args, _this._variables) : undefined;
530
+ resolverResult = resolverModule( // $FlowFixMe[prop-missing] - Resolver's generated type signature is a lie
531
+ key, // The Relay Compiler enforces that only resolvers that
532
+ // define arguments will have args in the Reader AST.
533
+ // $FlowFixMe[extra-arg]
534
+ args);
531
535
  } catch (e) {
532
536
  var _field$path;
533
537
 
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-e650439c",
4
+ "version": "0.0.0-main-7fdd8a85",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"