react-relay 0.0.0-main-42e8f836 → 0.0.0-main-31c024ad
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/ReactRelayContext.js +1 -1
- package/getRootVariablesForFragments.js.flow +2 -0
- package/hooks.js +1 -1
- package/index.js +1 -1
- package/legacy.js +1 -1
- package/package.json +2 -2
- package/relay-hooks/usePreloadedQuery.js.flow +2 -0
package/ReactRelayContext.js
CHANGED
|
@@ -32,6 +32,8 @@ function getRootVariablesForFragments<TProps: {...}>(
|
|
|
32
32
|
selector != null && selector.kind === 'PluralReaderSelector'
|
|
33
33
|
? selector.selectors[0]?.owner.variables ?? {}
|
|
34
34
|
: selector?.owner.variables ?? {};
|
|
35
|
+
/* $FlowFixMe[incompatible-indexer] Natural Inference rollout. See
|
|
36
|
+
* https://fburl.com/gdoc/y8dn025u */
|
|
35
37
|
rootVariables = {
|
|
36
38
|
...rootVariables,
|
|
37
39
|
...fragmentOwnerVariables,
|
package/hooks.js
CHANGED
package/index.js
CHANGED
package/legacy.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-relay",
|
|
3
3
|
"description": "A framework for building GraphQL-driven React applications.",
|
|
4
|
-
"version": "0.0.0-main-
|
|
4
|
+
"version": "0.0.0-main-31c024ad",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphql",
|
|
7
7
|
"relay",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"fbjs": "^3.0.2",
|
|
21
21
|
"invariant": "^2.2.4",
|
|
22
22
|
"nullthrows": "^1.1.1",
|
|
23
|
-
"relay-runtime": "0.0.0-main-
|
|
23
|
+
"relay-runtime": "0.0.0-main-31c024ad"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^16.9.0 || ^17 || ^18 || ^19"
|
|
@@ -155,6 +155,8 @@ hook usePreloadedQuery<
|
|
|
155
155
|
variables: TVariables,
|
|
156
156
|
response: TData,
|
|
157
157
|
rawResponse?: $NonMaybeType<TRawResponse>,
|
|
158
|
+
/* $FlowFixMe[incompatible-call] Natural Inference rollout. See
|
|
159
|
+
* https://fburl.com/gdoc/y8dn025u */
|
|
158
160
|
}>(useLazyLoadQueryNodeParams);
|
|
159
161
|
|
|
160
162
|
if (__DEV__) {
|