@apollo/client 3.14.0-alpha.0 → 3.14.0-rc.0
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/.changeset/breezy-lions-rule.md +5 -0
- package/.changeset/great-jobs-fetch.md +5 -0
- package/.changeset/pre.json +6 -2
- package/.changeset/shy-boxes-exercise.md +5 -0
- package/.changeset/tidy-bulldogs-exercise.md +5 -0
- package/CHANGELOG.md +16 -0
- package/README.md +2 -2
- package/apollo-client.cjs +187 -119
- package/apollo-client.cjs.map +1 -1
- package/apollo-client.min.cjs +1 -1
- package/cache/cache.cjs +7 -2
- package/cache/cache.cjs.map +1 -1
- package/cache/cache.cjs.native.js +7 -2
- package/cache/inmemory/inMemoryCache.d.ts +8 -0
- package/cache/inmemory/inMemoryCache.js +3 -0
- package/cache/inmemory/inMemoryCache.js.map +1 -1
- package/core/ApolloClient.d.ts +9 -9
- package/core/ApolloClient.js +6 -1
- package/core/ApolloClient.js.map +1 -1
- package/core/LocalState.js +2 -2
- package/core/ObservableQuery.d.ts +51 -6
- package/core/ObservableQuery.js +89 -13
- package/core/ObservableQuery.js.map +1 -1
- package/core/QueryInfo.js +6 -3
- package/core/QueryInfo.js.map +1 -1
- package/core/QueryManager.js +14 -12
- package/core/QueryManager.js.map +1 -1
- package/core/core.cjs +85 -33
- package/core/core.cjs.map +1 -1
- package/core/core.cjs.native.js +85 -33
- package/core/types.d.ts +177 -3
- package/core/types.js.map +1 -1
- package/core/watchQueryOptions.d.ts +10 -2
- package/core/watchQueryOptions.js.map +1 -1
- package/dev/dev.cjs +149 -97
- package/dev/dev.cjs.map +1 -1
- package/dev/dev.cjs.native.js +149 -97
- package/errors/errors.cjs.map +1 -1
- package/errors/index.d.ts +19 -0
- package/errors/index.js +19 -0
- package/errors/index.js.map +1 -1
- package/invariantErrorCodes.js +161 -96
- package/link/batch-http/batch-http.cjs +9 -0
- package/link/batch-http/batch-http.cjs.map +1 -1
- package/link/batch-http/batch-http.cjs.native.js +9 -0
- package/link/batch-http/batchHttpLink.js +9 -0
- package/link/batch-http/batchHttpLink.js.map +1 -1
- package/link/core/ApolloLink.d.ts +8 -0
- package/link/core/ApolloLink.js +19 -2
- package/link/core/ApolloLink.js.map +1 -1
- package/link/core/core.cjs +24 -2
- package/link/core/core.cjs.map +1 -1
- package/link/core/core.cjs.native.js +24 -2
- package/link/core/types.d.ts +20 -0
- package/link/core/types.js.map +1 -1
- package/link/error/index.d.ts +48 -0
- package/link/error/index.js.map +1 -1
- package/link/http/checkFetcher.js +1 -1
- package/link/http/createHttpLink.js +4 -1
- package/link/http/createHttpLink.js.map +1 -1
- package/link/http/http.cjs +6 -3
- package/link/http/http.cjs.map +1 -1
- package/link/http/http.cjs.native.js +6 -3
- package/link/http/serializeFetchParameter.js +1 -1
- package/link/persisted-queries/index.d.ts +38 -0
- package/link/persisted-queries/index.js +2 -2
- package/link/persisted-queries/index.js.map +1 -1
- package/link/persisted-queries/persisted-queries.cjs +2 -2
- package/link/persisted-queries/persisted-queries.cjs.map +1 -1
- package/link/persisted-queries/persisted-queries.cjs.native.js +2 -2
- package/link/utils/fromError.d.ts +16 -0
- package/link/utils/fromError.js +16 -0
- package/link/utils/fromError.js.map +1 -1
- package/link/utils/fromPromise.d.ts +16 -0
- package/link/utils/fromPromise.js +16 -0
- package/link/utils/fromPromise.js.map +1 -1
- package/link/utils/throwServerError.d.ts +30 -0
- package/link/utils/throwServerError.js +17 -0
- package/link/utils/throwServerError.js.map +1 -1
- package/link/utils/toPromise.d.ts +16 -0
- package/link/utils/toPromise.js +17 -1
- package/link/utils/toPromise.js.map +1 -1
- package/link/utils/utils.cjs +2 -2
- package/link/utils/utils.cjs.map +1 -1
- package/link/utils/utils.cjs.native.js +2 -2
- package/link/utils/validateOperation.js +1 -1
- package/masking/maskDefinition.js +2 -2
- package/masking/maskFragment.js +2 -2
- package/masking/maskOperation.js +1 -1
- package/masking/masking.cjs +6 -6
- package/masking/masking.cjs.map +1 -1
- package/masking/masking.cjs.native.js +6 -6
- package/masking/utils.js +1 -1
- package/masking/utils.js.map +1 -1
- package/package.json +1 -1
- package/react/components/Mutation.js +1 -1
- package/react/components/Query.js +1 -1
- package/react/components/Subscription.js +1 -1
- package/react/components/components.cjs +6 -4
- package/react/components/components.cjs.map +1 -1
- package/react/components/components.cjs.native.js +6 -4
- package/react/context/ApolloConsumer.js +1 -1
- package/react/context/ApolloContext.js +2 -2
- package/react/context/ApolloProvider.js +1 -1
- package/react/context/context.cjs +4 -4
- package/react/context/context.cjs.map +1 -1
- package/react/context/context.cjs.native.js +4 -4
- package/react/hoc/graphql.js +1 -1
- package/react/hoc/hoc-utils.js +1 -1
- package/react/hoc/hoc.cjs +9 -7
- package/react/hoc/hoc.cjs.map +1 -1
- package/react/hoc/hoc.cjs.native.js +9 -7
- package/react/hoc/mutation-hoc.js +1 -1
- package/react/hoc/query-hoc.js +1 -1
- package/react/hoc/subscription-hoc.js +1 -1
- package/react/hoc/withApollo.js +1 -1
- package/react/hooks/hooks.cjs +18 -16
- package/react/hooks/hooks.cjs.map +1 -1
- package/react/hooks/hooks.cjs.native.js +18 -16
- package/react/hooks/internal/useWarnRemoved.d.ts +2 -1
- package/react/hooks/internal/useWarnRemoved.js.map +1 -1
- package/react/hooks/internal/useWarnRemovedOption.js +1 -1
- package/react/hooks/useApolloClient.js +1 -1
- package/react/hooks/useLazyQuery.js +2 -2
- package/react/hooks/useLoadableQuery.js +2 -2
- package/react/hooks/useQuery.js +1 -1
- package/react/hooks/useSubscription.js +3 -3
- package/react/hooks/useSuspenseQuery.js +2 -2
- package/react/hooks/useSyncExternalStore.js +1 -1
- package/react/internal/cache/QueryReference.d.ts +1 -0
- package/react/internal/cache/QueryReference.js +5 -2
- package/react/internal/cache/QueryReference.js.map +1 -1
- package/react/internal/internal.cjs +16 -3
- package/react/internal/internal.cjs.map +1 -1
- package/react/internal/internal.cjs.native.js +16 -3
- package/react/parser/index.js +6 -6
- package/react/parser/parser.cjs +9 -7
- package/react/parser/parser.cjs.map +1 -1
- package/react/parser/parser.cjs.native.js +9 -7
- package/react/react.cjs +4 -2
- package/react/react.cjs.map +1 -1
- package/react/react.cjs.native.js +4 -2
- package/react/types/types.d.ts +40 -0
- package/react/types/types.documentation.d.ts +1 -1
- package/react/types/types.documentation.js.map +1 -1
- package/react/types/types.js.map +1 -1
- package/testing/core/core.cjs +17 -3
- package/testing/core/core.cjs.map +1 -1
- package/testing/core/core.cjs.native.js +17 -3
- package/testing/core/itAsync.d.ts +5 -0
- package/testing/core/itAsync.js +5 -0
- package/testing/core/itAsync.js.map +1 -1
- package/testing/core/mocking/mockClient.d.ts +4 -0
- package/testing/core/mocking/mockClient.js +4 -0
- package/testing/core/mocking/mockClient.js.map +1 -1
- package/testing/core/mocking/mockLink.d.ts +10 -0
- package/testing/core/mocking/mockLink.js +23 -4
- package/testing/core/mocking/mockLink.js.map +1 -1
- package/testing/core/mocking/mockSubscriptionLink.d.ts +4 -0
- package/testing/core/mocking/mockSubscriptionLink.js +4 -0
- package/testing/core/mocking/mockSubscriptionLink.js.map +1 -1
- package/testing/core/subscribeAndCount.d.ts +4 -0
- package/testing/core/subscribeAndCount.js +4 -0
- package/testing/core/subscribeAndCount.js.map +1 -1
- package/testing/experimental/createSchemaFetch.d.ts +1 -1
- package/testing/experimental/createSchemaFetch.js +1 -1
- package/testing/experimental/createSchemaFetch.js.map +1 -1
- package/testing/experimental/createTestSchema.d.ts +1 -1
- package/testing/experimental/createTestSchema.js +1 -1
- package/testing/experimental/createTestSchema.js.map +1 -1
- package/testing/experimental/experimental.cjs.map +1 -1
- package/testing/testing.cjs +4 -2
- package/testing/testing.cjs.map +1 -1
- package/testing/testing.cjs.native.js +4 -2
- package/utilities/deprecation/index.d.ts +83 -3
- package/utilities/deprecation/index.js +15 -3
- package/utilities/deprecation/index.js.map +1 -1
- package/utilities/globals/globals.cjs +1 -1
- package/utilities/globals/globals.cjs.map +1 -1
- package/utilities/globals/globals.cjs.native.js +1 -1
- package/utilities/graphql/DocumentTransform.js +1 -1
- package/utilities/graphql/directives.js +7 -7
- package/utilities/graphql/fragments.js +3 -3
- package/utilities/graphql/getFromAST.js +8 -8
- package/utilities/graphql/storeUtils.js +1 -1
- package/utilities/graphql/transform.js +2 -2
- package/utilities/observables/asyncMap.d.ts +13 -0
- package/utilities/observables/asyncMap.js +13 -0
- package/utilities/observables/asyncMap.js.map +1 -1
- package/utilities/observables/iteration.d.ts +4 -0
- package/utilities/observables/iteration.js +4 -0
- package/utilities/observables/iteration.js.map +1 -1
- package/utilities/subscriptions/urql/index.d.ts +5 -0
- package/utilities/subscriptions/urql/index.js +5 -0
- package/utilities/subscriptions/urql/index.js.map +1 -1
- package/utilities/subscriptions/urql/urql.cjs.map +1 -1
- package/utilities/utilities.cjs +22 -22
- package/utilities/utilities.cjs.map +1 -1
- package/utilities/utilities.cjs.native.js +22 -22
- package/version.js +1 -1
package/invariantErrorCodes.js
CHANGED
|
@@ -64,48 +64,48 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
64
64
|
"using a different fetchPolicy, such as cache-first or network-only."
|
|
65
65
|
},
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
21: {
|
|
68
68
|
file: "@apollo/client/core/LocalState.js",
|
|
69
69
|
condition: "fragment",
|
|
70
70
|
message: "No fragment named %s"
|
|
71
71
|
},
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
22: {
|
|
74
74
|
file: "@apollo/client/core/LocalState.js",
|
|
75
75
|
condition: "fragment",
|
|
76
76
|
message: "No fragment named %s"
|
|
77
77
|
},
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
29: {
|
|
80
80
|
file: "@apollo/client/core/ObservableQuery.js",
|
|
81
81
|
condition: "updateQuery",
|
|
82
82
|
message: "You must provide an `updateQuery` function when using `fetchMore` with a `no-cache` fetch policy."
|
|
83
83
|
},
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
32: {
|
|
86
86
|
file: "@apollo/client/core/ObservableQuery.js",
|
|
87
87
|
condition: "pollInterval",
|
|
88
88
|
message: "Attempted to start a polling query without a polling interval."
|
|
89
89
|
},
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
35: {
|
|
92
92
|
file: "@apollo/client/core/QueryManager.js",
|
|
93
93
|
message: "QueryManager stopped while query was in flight"
|
|
94
94
|
},
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
36: {
|
|
97
97
|
file: "@apollo/client/core/QueryManager.js",
|
|
98
98
|
condition: "mutation",
|
|
99
99
|
message: "mutation option is required. You must specify your GraphQL document in the mutation option."
|
|
100
100
|
},
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
37: {
|
|
103
103
|
file: "@apollo/client/core/QueryManager.js",
|
|
104
104
|
condition: "fetchPolicy === \"network-only\" || fetchPolicy === \"no-cache\"",
|
|
105
105
|
message: "Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."
|
|
106
106
|
},
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
38: {
|
|
109
109
|
file: "@apollo/client/core/QueryManager.js",
|
|
110
110
|
condition: "options.query",
|
|
111
111
|
|
|
@@ -113,45 +113,45 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
113
113
|
"in the query option."
|
|
114
114
|
},
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
39: {
|
|
117
117
|
file: "@apollo/client/core/QueryManager.js",
|
|
118
118
|
condition: "options.query.kind === \"Document\"",
|
|
119
119
|
message: 'You must wrap the query string in a "gql" tag.'
|
|
120
120
|
},
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
40: {
|
|
123
123
|
file: "@apollo/client/core/QueryManager.js",
|
|
124
124
|
condition: "!options.returnPartialData",
|
|
125
125
|
message: "returnPartialData option only supported on watchQuery."
|
|
126
126
|
},
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
41: {
|
|
129
129
|
file: "@apollo/client/core/QueryManager.js",
|
|
130
130
|
condition: "!options.pollInterval",
|
|
131
131
|
message: "pollInterval option only supported on watchQuery."
|
|
132
132
|
},
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
42: {
|
|
135
135
|
file: "@apollo/client/core/QueryManager.js",
|
|
136
136
|
message: "Store reset while query was in flight (not completed in link chain)"
|
|
137
137
|
},
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
48: {
|
|
140
140
|
file: "@apollo/client/link/core/ApolloLink.js",
|
|
141
141
|
message: "request is not implemented"
|
|
142
142
|
},
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
51: {
|
|
145
145
|
file: "@apollo/client/link/http/checkFetcher.js",
|
|
146
146
|
message: "\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "
|
|
147
147
|
},
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
54: {
|
|
150
150
|
file: "@apollo/client/link/http/serializeFetchParameter.js",
|
|
151
151
|
message: "Network request failed. %s is not serializable: %s"
|
|
152
152
|
},
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
55: {
|
|
155
155
|
file: "@apollo/client/link/persisted-queries/index.js",
|
|
156
156
|
condition: "options &&\n (typeof options.sha256 === \"function\" ||\n typeof options.generateHash === \"function\")",
|
|
157
157
|
|
|
@@ -160,42 +160,42 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
160
160
|
"parameter."
|
|
161
161
|
},
|
|
162
162
|
|
|
163
|
-
|
|
163
|
+
56: {
|
|
164
164
|
file: "@apollo/client/link/persisted-queries/index.js",
|
|
165
165
|
condition: "forward",
|
|
166
166
|
message: "PersistedQueryLink cannot be the last link in the chain."
|
|
167
167
|
},
|
|
168
168
|
|
|
169
|
-
|
|
169
|
+
58: {
|
|
170
170
|
file: "@apollo/client/link/utils/validateOperation.js",
|
|
171
171
|
message: "illegal argument: %s"
|
|
172
172
|
},
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
59: {
|
|
175
175
|
file: "@apollo/client/masking/maskDefinition.js",
|
|
176
176
|
condition: "fragment",
|
|
177
177
|
message: "Could not find fragment with name '%s'."
|
|
178
178
|
},
|
|
179
179
|
|
|
180
|
-
|
|
180
|
+
61: {
|
|
181
181
|
file: "@apollo/client/masking/maskFragment.js",
|
|
182
182
|
condition: "fragments.length === 1",
|
|
183
183
|
message: "Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment."
|
|
184
184
|
},
|
|
185
185
|
|
|
186
|
-
|
|
186
|
+
62: {
|
|
187
187
|
file: "@apollo/client/masking/maskFragment.js",
|
|
188
188
|
condition: "!!fragment",
|
|
189
189
|
message: "Could not find fragment with name \"%s\"."
|
|
190
190
|
},
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
63: {
|
|
193
193
|
file: "@apollo/client/masking/maskOperation.js",
|
|
194
194
|
condition: "definition",
|
|
195
195
|
message: "Expected a parsed GraphQL document with a query, mutation, or subscription."
|
|
196
196
|
},
|
|
197
197
|
|
|
198
|
-
|
|
198
|
+
68: {
|
|
199
199
|
file: "@apollo/client/react/context/ApolloConsumer.js",
|
|
200
200
|
condition: "context && context.client",
|
|
201
201
|
|
|
@@ -203,7 +203,7 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
203
203
|
"Wrap the root component in an <ApolloProvider>."
|
|
204
204
|
},
|
|
205
205
|
|
|
206
|
-
|
|
206
|
+
69: {
|
|
207
207
|
file: "@apollo/client/react/context/ApolloContext.js",
|
|
208
208
|
condition: "\"createContext\" in React",
|
|
209
209
|
|
|
@@ -214,7 +214,7 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
214
214
|
"For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components"
|
|
215
215
|
},
|
|
216
216
|
|
|
217
|
-
|
|
217
|
+
71: {
|
|
218
218
|
file: "@apollo/client/react/context/ApolloProvider.js",
|
|
219
219
|
condition: "context.client",
|
|
220
220
|
|
|
@@ -222,7 +222,7 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
222
222
|
'sure you pass in your client via the "client" prop.'
|
|
223
223
|
},
|
|
224
224
|
|
|
225
|
-
|
|
225
|
+
73: {
|
|
226
226
|
file: "@apollo/client/react/hoc/hoc-utils.js",
|
|
227
227
|
condition: "this.withRef",
|
|
228
228
|
|
|
@@ -230,7 +230,7 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
230
230
|
"{ withRef: true } in the options"
|
|
231
231
|
},
|
|
232
232
|
|
|
233
|
-
|
|
233
|
+
77: {
|
|
234
234
|
file: "@apollo/client/react/hoc/withApollo.js",
|
|
235
235
|
condition: "operationOptions.withRef",
|
|
236
236
|
|
|
@@ -238,7 +238,7 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
238
238
|
"{ withRef: true } in the options"
|
|
239
239
|
},
|
|
240
240
|
|
|
241
|
-
|
|
241
|
+
79: {
|
|
242
242
|
file: "@apollo/client/react/hooks/useApolloClient.js",
|
|
243
243
|
condition: "!!client",
|
|
244
244
|
|
|
@@ -247,37 +247,37 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
247
247
|
"instance in via options."
|
|
248
248
|
},
|
|
249
249
|
|
|
250
|
-
|
|
250
|
+
82: {
|
|
251
251
|
file: "@apollo/client/react/hooks/useLoadableQuery.js",
|
|
252
252
|
condition: "!calledDuringRender()",
|
|
253
253
|
message: "useLoadableQuery: 'loadQuery' should not be called during render. To start a query during render, use the 'useBackgroundQuery' hook."
|
|
254
254
|
},
|
|
255
255
|
|
|
256
|
-
|
|
256
|
+
83: {
|
|
257
257
|
file: "@apollo/client/react/hooks/useLoadableQuery.js",
|
|
258
258
|
condition: "internalQueryRef",
|
|
259
259
|
message: "The query has not been loaded. Please load the query."
|
|
260
260
|
},
|
|
261
261
|
|
|
262
|
-
|
|
262
|
+
89: {
|
|
263
263
|
file: "@apollo/client/react/hooks/useSubscription.js",
|
|
264
264
|
condition: "!optionsRef.current.skip",
|
|
265
265
|
message: "A subscription that is skipped cannot be restarted."
|
|
266
266
|
},
|
|
267
267
|
|
|
268
|
-
|
|
268
|
+
90: {
|
|
269
269
|
file: "@apollo/client/react/hooks/useSuspenseQuery.js",
|
|
270
270
|
condition: "supportedFetchPolicies.includes(fetchPolicy)",
|
|
271
271
|
message: "The fetch policy `%s` is not supported with suspense."
|
|
272
272
|
},
|
|
273
273
|
|
|
274
|
-
|
|
274
|
+
93: {
|
|
275
275
|
file: "@apollo/client/react/internal/cache/QueryReference.js",
|
|
276
276
|
condition: "!queryRef || QUERY_REFERENCE_SYMBOL in queryRef",
|
|
277
277
|
message: "Expected a QueryRef object, but got something else instead."
|
|
278
278
|
},
|
|
279
279
|
|
|
280
|
-
|
|
280
|
+
95: {
|
|
281
281
|
file: "@apollo/client/react/parser/index.js",
|
|
282
282
|
condition: "!!document && !!document.kind",
|
|
283
283
|
|
|
@@ -286,7 +286,7 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
286
286
|
"to convert your operation into a document"
|
|
287
287
|
},
|
|
288
288
|
|
|
289
|
-
|
|
289
|
+
96: {
|
|
290
290
|
file: "@apollo/client/react/parser/index.js",
|
|
291
291
|
condition: "!fragments.length ||\n queries.length ||\n mutations.length ||\n subscriptions.length",
|
|
292
292
|
|
|
@@ -294,7 +294,7 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
294
294
|
"You must include a query, subscription or mutation as well"
|
|
295
295
|
},
|
|
296
296
|
|
|
297
|
-
|
|
297
|
+
97: {
|
|
298
298
|
file: "@apollo/client/react/parser/index.js",
|
|
299
299
|
condition: "queries.length + mutations.length + subscriptions.length <= 1",
|
|
300
300
|
|
|
@@ -304,7 +304,7 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
304
304
|
"You can use 'compose' to join multiple operation types to a component"
|
|
305
305
|
},
|
|
306
306
|
|
|
307
|
-
|
|
307
|
+
98: {
|
|
308
308
|
file: "@apollo/client/react/parser/index.js",
|
|
309
309
|
condition: "definitions.length === 1",
|
|
310
310
|
|
|
@@ -313,120 +313,120 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
313
313
|
"You can use 'compose' to join multiple operation types to a component"
|
|
314
314
|
},
|
|
315
315
|
|
|
316
|
-
|
|
316
|
+
99: {
|
|
317
317
|
file: "@apollo/client/react/parser/index.js",
|
|
318
318
|
condition: "operation.type === type",
|
|
319
319
|
message: "Running a %s requires a graphql " + "%s, but a %s was used instead."
|
|
320
320
|
},
|
|
321
321
|
|
|
322
|
-
|
|
322
|
+
102: {
|
|
323
323
|
file: "@apollo/client/testing/core/mocking/mockLink.js",
|
|
324
324
|
condition: "queryWithoutClientOnlyDirectives",
|
|
325
325
|
message: "query is required"
|
|
326
326
|
},
|
|
327
327
|
|
|
328
|
-
|
|
328
|
+
103: {
|
|
329
329
|
file: "@apollo/client/testing/core/mocking/mockLink.js",
|
|
330
330
|
condition: "mockedResponse.maxUsageCount > 0",
|
|
331
331
|
message: "Mock response maxUsageCount must be greater than 0, %s given"
|
|
332
332
|
},
|
|
333
333
|
|
|
334
|
-
|
|
334
|
+
105: {
|
|
335
335
|
file: "@apollo/client/utilities/graphql/DocumentTransform.js",
|
|
336
336
|
condition: "Array.isArray(cacheKeys)",
|
|
337
337
|
message: "`getCacheKey` must return an array or undefined"
|
|
338
338
|
},
|
|
339
339
|
|
|
340
|
-
|
|
340
|
+
106: {
|
|
341
341
|
file: "@apollo/client/utilities/graphql/directives.js",
|
|
342
342
|
condition: "evaledValue !== void 0",
|
|
343
343
|
message: "Invalid variable referenced in @%s directive."
|
|
344
344
|
},
|
|
345
345
|
|
|
346
|
-
|
|
346
|
+
107: {
|
|
347
347
|
file: "@apollo/client/utilities/graphql/directives.js",
|
|
348
348
|
condition: "directiveArguments && directiveArguments.length === 1",
|
|
349
349
|
message: "Incorrect number of arguments for the @%s directive."
|
|
350
350
|
},
|
|
351
351
|
|
|
352
|
-
|
|
352
|
+
108: {
|
|
353
353
|
file: "@apollo/client/utilities/graphql/directives.js",
|
|
354
354
|
condition: "ifArgument.name && ifArgument.name.value === \"if\"",
|
|
355
355
|
message: "Invalid argument for the @%s directive."
|
|
356
356
|
},
|
|
357
357
|
|
|
358
|
-
|
|
358
|
+
109: {
|
|
359
359
|
file: "@apollo/client/utilities/graphql/directives.js",
|
|
360
360
|
condition: "ifValue &&\n (ifValue.kind === \"Variable\" || ifValue.kind === \"BooleanValue\")",
|
|
361
361
|
message: "Argument for the @%s directive must be a variable or a boolean value."
|
|
362
362
|
},
|
|
363
363
|
|
|
364
|
-
|
|
364
|
+
113: {
|
|
365
365
|
file: "@apollo/client/utilities/graphql/fragments.js",
|
|
366
366
|
|
|
367
367
|
message: "Found a %s operation%s. " +
|
|
368
368
|
"No operations are allowed when using a fragment as a query. Only fragments are allowed."
|
|
369
369
|
},
|
|
370
370
|
|
|
371
|
-
|
|
371
|
+
114: {
|
|
372
372
|
file: "@apollo/client/utilities/graphql/fragments.js",
|
|
373
373
|
condition: "fragments.length === 1",
|
|
374
374
|
message: "Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment."
|
|
375
375
|
},
|
|
376
376
|
|
|
377
|
-
|
|
377
|
+
115: {
|
|
378
378
|
file: "@apollo/client/utilities/graphql/fragments.js",
|
|
379
379
|
condition: "fragment",
|
|
380
380
|
message: "No fragment named %s"
|
|
381
381
|
},
|
|
382
382
|
|
|
383
|
-
|
|
383
|
+
116: {
|
|
384
384
|
file: "@apollo/client/utilities/graphql/getFromAST.js",
|
|
385
385
|
condition: "doc && doc.kind === \"Document\"",
|
|
386
386
|
message: "Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \"gql\" tag? http://docs.apollostack.com/apollo-client/core.html#gql"
|
|
387
387
|
},
|
|
388
388
|
|
|
389
|
-
|
|
389
|
+
117: {
|
|
390
390
|
file: "@apollo/client/utilities/graphql/getFromAST.js",
|
|
391
391
|
message: "Schema type definitions not allowed in queries. Found: \"%s\""
|
|
392
392
|
},
|
|
393
393
|
|
|
394
|
-
|
|
394
|
+
118: {
|
|
395
395
|
file: "@apollo/client/utilities/graphql/getFromAST.js",
|
|
396
396
|
condition: "operations.length <= 1",
|
|
397
397
|
message: "Ambiguous GraphQL document: contains %s operations"
|
|
398
398
|
},
|
|
399
399
|
|
|
400
|
-
|
|
400
|
+
119: {
|
|
401
401
|
file: "@apollo/client/utilities/graphql/getFromAST.js",
|
|
402
402
|
condition: "queryDef && queryDef.operation === \"query\"",
|
|
403
403
|
message: "Must contain a query definition."
|
|
404
404
|
},
|
|
405
405
|
|
|
406
|
-
|
|
406
|
+
120: {
|
|
407
407
|
file: "@apollo/client/utilities/graphql/getFromAST.js",
|
|
408
408
|
condition: "doc.kind === \"Document\"",
|
|
409
409
|
message: "Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \"gql\" tag? http://docs.apollostack.com/apollo-client/core.html#gql"
|
|
410
410
|
},
|
|
411
411
|
|
|
412
|
-
|
|
412
|
+
121: {
|
|
413
413
|
file: "@apollo/client/utilities/graphql/getFromAST.js",
|
|
414
414
|
condition: "doc.definitions.length <= 1",
|
|
415
415
|
message: "Fragment must have exactly one definition."
|
|
416
416
|
},
|
|
417
417
|
|
|
418
|
-
|
|
418
|
+
122: {
|
|
419
419
|
file: "@apollo/client/utilities/graphql/getFromAST.js",
|
|
420
420
|
condition: "fragmentDef.kind === \"FragmentDefinition\"",
|
|
421
421
|
message: "Must be a fragment definition."
|
|
422
422
|
},
|
|
423
423
|
|
|
424
|
-
|
|
424
|
+
123: {
|
|
425
425
|
file: "@apollo/client/utilities/graphql/getFromAST.js",
|
|
426
426
|
message: "Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."
|
|
427
427
|
},
|
|
428
428
|
|
|
429
|
-
|
|
429
|
+
124: {
|
|
430
430
|
file: "@apollo/client/utilities/graphql/storeUtils.js",
|
|
431
431
|
|
|
432
432
|
message: "The inline argument \"%s\" of kind \"%s\"" +
|
|
@@ -436,12 +436,12 @@ export const errorCodes = // This file is used by the error message display webs
|
|
|
436
436
|
};
|
|
437
437
|
|
|
438
438
|
export const devDebug = {
|
|
439
|
-
|
|
439
|
+
20: {
|
|
440
440
|
file: "@apollo/client/core/ApolloClient.js",
|
|
441
441
|
message: "In client.refetchQueries, Promise.all promise rejected with error %o"
|
|
442
442
|
},
|
|
443
443
|
|
|
444
|
-
|
|
444
|
+
34: {
|
|
445
445
|
file: "@apollo/client/core/ObservableQuery.js",
|
|
446
446
|
message: "Missing cache result fields: %o"
|
|
447
447
|
}
|
|
@@ -490,162 +490,227 @@ export const devWarn = {
|
|
|
490
490
|
message: "[ApolloClient]: Apollo Client 4.0 will require a `link` option and will not create a default link when not provided. Please provide a `link` option."
|
|
491
491
|
},
|
|
492
492
|
|
|
493
|
-
|
|
493
|
+
19: {
|
|
494
|
+
file: "@apollo/client/core/ApolloClient.js",
|
|
495
|
+
message: "[client.query]: Apollo Client 4.0 will no longer support the `standby` fetch policy with `client.query`. Please use a different fetch policy."
|
|
496
|
+
},
|
|
497
|
+
|
|
498
|
+
23: {
|
|
499
|
+
file: "@apollo/client/core/ObservableQuery.js",
|
|
500
|
+
message: "[observableQuery.result]: `result` is deprecated and will be removed with Apollo Client 4.0."
|
|
501
|
+
},
|
|
502
|
+
|
|
503
|
+
24: {
|
|
504
|
+
file: "@apollo/client/core/ObservableQuery.js",
|
|
505
|
+
message: "[ObservableQuery]: `getLastResult` is deprecated and will be removed in Apollo Client 4.0. Please discontinue using this method."
|
|
506
|
+
},
|
|
507
|
+
|
|
508
|
+
25: {
|
|
509
|
+
file: "@apollo/client/core/ObservableQuery.js",
|
|
510
|
+
message: "[ObservableQuery]: `getLastResult` is deprecated and will be removed in Apollo Client 4.0. Please discontinue using this method."
|
|
511
|
+
},
|
|
512
|
+
|
|
513
|
+
26: {
|
|
514
|
+
file: "@apollo/client/core/ObservableQuery.js",
|
|
515
|
+
message: "[ObservableQuery]: `getLastResult` is deprecated and will be removed in Apollo Client 4.0. Please discontinue using this method."
|
|
516
|
+
},
|
|
517
|
+
|
|
518
|
+
27: {
|
|
519
|
+
file: "@apollo/client/core/ObservableQuery.js",
|
|
520
|
+
message: "[observableQuery.resetQueryStoreErrors]: `resetQueryStoreErrors` is deprecated and will be removed with Apollo Client 4.0. Please discontinue using this method."
|
|
521
|
+
},
|
|
522
|
+
|
|
523
|
+
28: {
|
|
494
524
|
file: "@apollo/client/core/ObservableQuery.js",
|
|
495
525
|
message: "Called refetch(%o) for query %o, which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"
|
|
496
526
|
},
|
|
497
527
|
|
|
498
|
-
|
|
528
|
+
31: {
|
|
529
|
+
file: "@apollo/client/core/ObservableQuery.js",
|
|
530
|
+
message: "[observableQuery.setOptions] `setOptions` is deprecated and will be removed in Apollo Client 4.0. Please use `observableQuery.reobserve(newOptions)` instead."
|
|
531
|
+
},
|
|
532
|
+
|
|
533
|
+
43: {
|
|
499
534
|
file: "@apollo/client/core/QueryManager.js",
|
|
500
535
|
message: "Unknown query named \"%s\" requested in refetchQueries options.include array"
|
|
501
536
|
},
|
|
502
537
|
|
|
503
|
-
|
|
538
|
+
44: {
|
|
504
539
|
file: "@apollo/client/core/QueryManager.js",
|
|
505
540
|
message: "Unknown anonymous query requested in refetchQueries options.include array"
|
|
506
541
|
},
|
|
507
542
|
|
|
508
|
-
|
|
543
|
+
45: {
|
|
509
544
|
file: "@apollo/client/core/QueryManager.js",
|
|
510
545
|
message: '[%s]: Fragments masked by data masking are inaccessible when using fetch policy "no-cache". Please add `@unmask` to each fragment spread to access the data.'
|
|
511
546
|
},
|
|
512
547
|
|
|
513
|
-
|
|
548
|
+
46: {
|
|
549
|
+
file: "@apollo/client/link/batch-http/batchHttpLink.js",
|
|
550
|
+
message: "[BatchHttpLink]: Apollo Client 4.0 will no longer remove `@client` fields from queries sent through the link chain. Please open an issue if this warning is displayed under standard usage."
|
|
551
|
+
},
|
|
552
|
+
|
|
553
|
+
47: {
|
|
514
554
|
file: "@apollo/client/link/core/ApolloLink.js",
|
|
515
555
|
message: "You are calling concat on a terminating link, which will have no effect %o"
|
|
516
556
|
},
|
|
517
557
|
|
|
518
|
-
|
|
558
|
+
49: {
|
|
559
|
+
file: "@apollo/client/link/core/ApolloLink.js",
|
|
560
|
+
message: "[ApolloLink] `onError` is deprecated and will be removed with Apollo Client 4.0. Please discontinue using it."
|
|
561
|
+
},
|
|
562
|
+
|
|
563
|
+
50: {
|
|
564
|
+
file: "@apollo/client/link/core/ApolloLink.js",
|
|
565
|
+
message: "[ApolloLink] `setOnError` is deprecated and will be removed with Apollo Client 4.0. Please discontinue using it."
|
|
566
|
+
},
|
|
567
|
+
|
|
568
|
+
52: {
|
|
569
|
+
file: "@apollo/client/link/http/createHttpLink.js",
|
|
570
|
+
message: "[HttpLink]: Apollo Client 4.0 will no longer remove `@client` fields from queries sent through the link chain. Please open an issue if this warning is displayed under standard usage."
|
|
571
|
+
},
|
|
572
|
+
|
|
573
|
+
53: {
|
|
519
574
|
file: "@apollo/client/link/http/createHttpLink.js",
|
|
520
575
|
message: "Multipart-subscriptions do not support @defer"
|
|
521
576
|
},
|
|
522
577
|
|
|
523
|
-
|
|
578
|
+
57: {
|
|
524
579
|
file: "@apollo/client/link/utils/toPromise.js",
|
|
525
580
|
message: "Promise Wrapper does not support multiple results from Observable"
|
|
526
581
|
},
|
|
527
582
|
|
|
528
|
-
|
|
583
|
+
60: {
|
|
529
584
|
file: "@apollo/client/masking/maskDefinition.js",
|
|
530
585
|
message: "Accessing unmasked field on %s at path '%s'. This field will not be available when masking is enabled. Please read the field from the fragment instead."
|
|
531
586
|
},
|
|
532
587
|
|
|
533
|
-
|
|
588
|
+
64: {
|
|
534
589
|
file: "@apollo/client/masking/utils.js",
|
|
535
|
-
message: "The configured cache does not support data masking which effectively disables it. Please use a cache that supports data masking or disable data masking to silence this warning."
|
|
590
|
+
message: "The configured cache does not support data masking which effectively disables it. Please use a cache that supports data masking or disable data masking to silence this warning. Caches will be required to support the necessary data masking APIs in Apollo Client 4.0."
|
|
536
591
|
},
|
|
537
592
|
|
|
538
|
-
|
|
593
|
+
65: {
|
|
539
594
|
file: "@apollo/client/react/components/Mutation.js",
|
|
540
595
|
message: "[Mutation]: The `<Mutation />` component is deprecated and will be removed in Apollo Client 4.0. Please use the `useMutation` React hook instead."
|
|
541
596
|
},
|
|
542
597
|
|
|
543
|
-
|
|
598
|
+
66: {
|
|
544
599
|
file: "@apollo/client/react/components/Query.js",
|
|
545
600
|
message: "[Query]: The `<Query />` component is deprecated and will be removed in Apollo Client 4.0. Please use an available React hook such as `useQuery` instead."
|
|
546
601
|
},
|
|
547
602
|
|
|
548
|
-
|
|
603
|
+
67: {
|
|
549
604
|
file: "@apollo/client/react/components/Subscription.js",
|
|
550
605
|
message: "[Subscription]: The `<Subscription />` component is deprecated and will be removed in Apollo Client 4.0. Please use the `useSubscription` React hook instead."
|
|
551
606
|
},
|
|
552
607
|
|
|
553
|
-
|
|
608
|
+
70: {
|
|
554
609
|
file: "@apollo/client/react/context/ApolloContext.js",
|
|
555
610
|
message: "[resetApolloContext]: `resetApolloContext` is deprecated and will be removed in Apollo Client 4.0. Please use `getApolloContext` instead."
|
|
556
611
|
},
|
|
557
612
|
|
|
558
|
-
|
|
613
|
+
72: {
|
|
559
614
|
file: "@apollo/client/react/hoc/graphql.js",
|
|
560
615
|
message: "[graphql]: The `graphql` higher order component is deprecated and will be removed in Apollo Client 4.0. Please switch to an available React hook such as `useQuery`, `useMutation`, or `useSubscription`."
|
|
561
616
|
},
|
|
562
617
|
|
|
563
|
-
|
|
618
|
+
74: {
|
|
564
619
|
file: "@apollo/client/react/hoc/mutation-hoc.js",
|
|
565
620
|
message: "[withMutation]: The `withMutation` higher order component is deprecated and will be removed in Apollo Client 4.0. Please switch to an available React hook such as `useQuery`."
|
|
566
621
|
},
|
|
567
622
|
|
|
568
|
-
|
|
623
|
+
75: {
|
|
569
624
|
file: "@apollo/client/react/hoc/query-hoc.js",
|
|
570
625
|
message: "[withQuery]: The `withQuery` higher order component is deprecated and will be removed in Apollo Client 4.0. Please switch to an available React hook such as `useQuery`."
|
|
571
626
|
},
|
|
572
627
|
|
|
573
|
-
|
|
628
|
+
76: {
|
|
574
629
|
file: "@apollo/client/react/hoc/subscription-hoc.js",
|
|
575
630
|
message: "[withSubscription]: The `withSubscription` higher order component is deprecated and will be removed in Apollo Client 4.0. Please switch to an available React hook such as `useSubscription`."
|
|
576
631
|
},
|
|
577
632
|
|
|
578
|
-
|
|
633
|
+
78: {
|
|
579
634
|
file: "@apollo/client/react/hooks/internal/useWarnRemovedOption.js",
|
|
580
635
|
message: "[%s]: `%s` is a deprecated hook option and will be removed in Apollo Client 4.0. %s"
|
|
581
636
|
},
|
|
582
637
|
|
|
583
|
-
|
|
638
|
+
80: {
|
|
584
639
|
file: "@apollo/client/react/hooks/useLazyQuery.js",
|
|
585
640
|
message: "[useLazyQuery]: `reobserve` is deprecated and will removed in Apollo Client 4.0. Please change options by rerendering `useLazyQuery` with new options."
|
|
586
641
|
},
|
|
587
642
|
|
|
588
|
-
|
|
643
|
+
81: {
|
|
589
644
|
file: "@apollo/client/react/hooks/useLazyQuery.js",
|
|
590
645
|
message: "[useLazyQuery]: Calling `execute` in render will throw in Apollo Client 4.0. Either switch to `useQuery` to run the query during render or move the `execute` call inside of `useEffect`."
|
|
591
646
|
},
|
|
592
647
|
|
|
593
|
-
|
|
648
|
+
84: {
|
|
594
649
|
file: "@apollo/client/react/hooks/useQuery.js",
|
|
595
650
|
message: "[useQuery]: `reobserve` is deprecated and will removed in Apollo Client 4.0. Please change options by rerendering `useQuery` with new options."
|
|
596
651
|
},
|
|
597
652
|
|
|
598
|
-
|
|
653
|
+
85: {
|
|
599
654
|
file: "@apollo/client/react/hooks/useSubscription.js",
|
|
600
655
|
message: "'useSubscription' supports only the 'onSubscriptionData' or 'onData' option, but not both. Only the 'onData' option will be used."
|
|
601
656
|
},
|
|
602
657
|
|
|
603
|
-
|
|
658
|
+
86: {
|
|
604
659
|
file: "@apollo/client/react/hooks/useSubscription.js",
|
|
605
660
|
message: "[useSubscription]: `onSubscriptionData` is deprecated and will be removed in Apollo Client 4.0. Please use the 'onData' option instead."
|
|
606
661
|
},
|
|
607
662
|
|
|
608
|
-
|
|
663
|
+
87: {
|
|
609
664
|
file: "@apollo/client/react/hooks/useSubscription.js",
|
|
610
665
|
message: "'useSubscription' supports only the 'onSubscriptionComplete' or 'onComplete' option, but not both. Only the 'onComplete' option will be used."
|
|
611
666
|
},
|
|
612
667
|
|
|
613
|
-
|
|
668
|
+
88: {
|
|
614
669
|
file: "@apollo/client/react/hooks/useSubscription.js",
|
|
615
670
|
message: "[useSubscription]: `onSubscriptionComplete` is deprecated and will be removed in Apollo Client 4.0. Please use the 'onComplete' option instead."
|
|
616
671
|
},
|
|
617
672
|
|
|
618
|
-
|
|
673
|
+
91: {
|
|
619
674
|
file: "@apollo/client/react/hooks/useSuspenseQuery.js",
|
|
620
675
|
message: "Using `returnPartialData` with a `no-cache` fetch policy has no effect. To read partial data from the cache, consider using an alternate fetch policy."
|
|
621
676
|
},
|
|
622
677
|
|
|
623
|
-
|
|
678
|
+
94: {
|
|
624
679
|
file: "@apollo/client/react/parser/index.js",
|
|
625
680
|
message: "[parser]: `parser` is deprecated and will be removed in Apollo Client 4.0. Please remove all usages of `parser`."
|
|
626
681
|
},
|
|
627
682
|
|
|
628
|
-
|
|
683
|
+
100: {
|
|
684
|
+
file: "@apollo/client/testing/core/mocking/mockLink.js",
|
|
685
|
+
message: "[MockLink]: `newData` is deprecated and will be removed in Apollo Client 4.0. Please use the `result` option with a callback function and set the `maxUsageCount` option to `Number.POSITIVE_INFINITY`.\n\nFound `newData` on response:\n%o"
|
|
686
|
+
},
|
|
687
|
+
|
|
688
|
+
101: {
|
|
689
|
+
file: "@apollo/client/testing/core/mocking/mockLink.js",
|
|
690
|
+
message: "[MockLink]: Apollo Client 4.0 will throw when mocking client-only query '%s'. Please ensure the query has at least 1 non-client field."
|
|
691
|
+
},
|
|
692
|
+
|
|
693
|
+
104: {
|
|
629
694
|
file: "@apollo/client/utilities/deprecation/index.js",
|
|
630
695
|
message: "[%s]: `%s` is deprecated and will be removed in Apollo Client 4.0. %s"
|
|
631
696
|
},
|
|
632
697
|
|
|
633
|
-
|
|
698
|
+
110: {
|
|
634
699
|
file: "@apollo/client/utilities/graphql/directives.js",
|
|
635
700
|
message: "@unmask 'mode' argument does not support variables."
|
|
636
701
|
},
|
|
637
702
|
|
|
638
|
-
|
|
703
|
+
111: {
|
|
639
704
|
file: "@apollo/client/utilities/graphql/directives.js",
|
|
640
705
|
message: "@unmask 'mode' argument must be of type string."
|
|
641
706
|
},
|
|
642
707
|
|
|
643
|
-
|
|
708
|
+
112: {
|
|
644
709
|
file: "@apollo/client/utilities/graphql/directives.js",
|
|
645
710
|
message: "@unmask 'mode' argument does not recognize value '%s'."
|
|
646
711
|
},
|
|
647
712
|
|
|
648
|
-
|
|
713
|
+
126: {
|
|
649
714
|
file: "@apollo/client/utilities/graphql/transform.js",
|
|
650
715
|
|
|
651
716
|
message: "Removing an @connection directive even though it does not have a key. " +
|
|
@@ -659,22 +724,22 @@ export const devError = {
|
|
|
659
724
|
message: "Missing field '%s' while writing result %o"
|
|
660
725
|
},
|
|
661
726
|
|
|
662
|
-
|
|
727
|
+
30: {
|
|
663
728
|
file: "@apollo/client/core/ObservableQuery.js",
|
|
664
729
|
message: "Unhandled GraphQL subscription error"
|
|
665
730
|
},
|
|
666
731
|
|
|
667
|
-
|
|
732
|
+
33: {
|
|
668
733
|
file: "@apollo/client/core/ObservableQuery.js",
|
|
669
734
|
message: "Unhandled error"
|
|
670
735
|
},
|
|
671
736
|
|
|
672
|
-
|
|
737
|
+
92: {
|
|
673
738
|
file: "@apollo/client/react/hooks/useSyncExternalStore.js",
|
|
674
739
|
message: "The result of getSnapshot should be cached to avoid an infinite loop"
|
|
675
740
|
},
|
|
676
741
|
|
|
677
|
-
|
|
742
|
+
125: {
|
|
678
743
|
file: "@apollo/client/utilities/graphql/transform.js",
|
|
679
744
|
message: "Could not find operation or fragment"
|
|
680
745
|
}
|