relay-runtime 0.0.0-main-217f70a9 → 0.0.0-main-ea0ad0fe

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-217f70a9
2
+ * Relay v0.0.0-main-ea0ad0fe
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-217f70a9
2
+ * Relay v0.0.0-main-ea0ad0fe
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
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-217f70a9",
4
+ "version": "0.0.0-main-ea0ad0fe",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
@@ -340,6 +340,7 @@ function getVariablesFromObject(
340
340
  const fragment = fragments[key];
341
341
  const item = object[key];
342
342
  const itemVariables = getVariablesFromFragment(fragment, item);
343
+ // $FlowFixMe[unsafe-object-assign]
343
344
  Object.assign(variables, itemVariables);
344
345
  }
345
346
  }
@@ -397,6 +398,7 @@ function getVariablesFromPluralFragment(
397
398
  if (value != null) {
398
399
  const itemVariables = getVariablesFromSingularFragment(fragment, value);
399
400
  if (itemVariables != null) {
401
+ // $FlowFixMe[unsafe-object-assign]
400
402
  Object.assign(variables, itemVariables);
401
403
  }
402
404
  }
@@ -25,6 +25,7 @@ function createError(
25
25
  String(messageParams[index++]),
26
26
  );
27
27
  const err = new Error(message);
28
+ // $FlowFixMe[unsafe-object-assign]
28
29
  const error = Object.assign((err: any), {
29
30
  name,
30
31
  messageFormat,
@@ -30,6 +30,7 @@ function withProvidedVariables(
30
30
  ): Variables {
31
31
  if (providedVariables != null) {
32
32
  const operationVariables: {[string]: mixed} = {};
33
+ // $FlowFixMe[unsafe-object-assign]
33
34
  Object.assign(operationVariables, userSuppliedVariables);
34
35
  Object.keys(providedVariables).forEach((varName: string) => {
35
36
  const providerFunction = providedVariables[varName].get;