@apollo/client 4.3.0-alpha.9 → 4.3.0-rc.1

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.
Files changed (232) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/__cjs/cache/core/Scalar.cjs.map +1 -1
  3. package/__cjs/cache/core/Scalar.d.cts +0 -1
  4. package/__cjs/cache/core/cache.cjs +3 -3
  5. package/__cjs/cache/core/cache.cjs.map +1 -1
  6. package/__cjs/cache/core/cache.d.cts +53 -8
  7. package/__cjs/cache/index.cjs.map +1 -1
  8. package/__cjs/cache/index.d.cts +1 -1
  9. package/__cjs/cache/inmemory/entityStore.cjs +25 -10
  10. package/__cjs/cache/inmemory/entityStore.cjs.map +1 -1
  11. package/__cjs/cache/inmemory/helpers.cjs +12 -0
  12. package/__cjs/cache/inmemory/helpers.cjs.map +1 -1
  13. package/__cjs/cache/inmemory/helpers.d.cts +2 -1
  14. package/__cjs/cache/inmemory/inMemoryCache.cjs +34 -22
  15. package/__cjs/cache/inmemory/inMemoryCache.cjs.map +1 -1
  16. package/__cjs/cache/inmemory/inMemoryCache.d.cts +4 -4
  17. package/__cjs/cache/inmemory/key-extractor.cjs +1 -1
  18. package/__cjs/cache/inmemory/policies.cjs +7 -8
  19. package/__cjs/cache/inmemory/policies.cjs.map +1 -1
  20. package/__cjs/cache/inmemory/policies.d.cts +3 -4
  21. package/__cjs/cache/inmemory/readFromStore.cjs +3 -3
  22. package/__cjs/cache/inmemory/types.d.cts +3 -1
  23. package/__cjs/cache/inmemory/writeToStore.cjs +4 -4
  24. package/__cjs/core/ApolloClient.cjs +14 -14
  25. package/__cjs/core/ObservableQuery.cjs +8 -8
  26. package/__cjs/core/QueryInfo.cjs +1 -1
  27. package/__cjs/core/QueryManager.cjs +12 -12
  28. package/__cjs/core/RefetchEventManager.cjs +3 -3
  29. package/__cjs/core/index.cjs.map +1 -1
  30. package/__cjs/core/index.d.cts +3 -2
  31. package/__cjs/core/types.d.cts +9 -4
  32. package/__cjs/incremental/handlers/graphql17Alpha9.cjs +1 -1
  33. package/__cjs/incremental/handlers/notImplemented.cjs +1 -1
  34. package/__cjs/invariantErrorCodes.cjs +131 -116
  35. package/__cjs/link/core/ApolloLink.cjs +3 -3
  36. package/__cjs/link/http/checkFetcher.cjs +1 -1
  37. package/__cjs/link/http/parseAndCheckHttpResponse.cjs +1 -1
  38. package/__cjs/link/persisted-queries/index.cjs +2 -2
  39. package/__cjs/link/ws/index.cjs +1 -1
  40. package/__cjs/local-state/LocalState.cjs +11 -11
  41. package/__cjs/local-state/LocalState.cjs.map +1 -1
  42. package/__cjs/local-state/LocalState.d.cts +1 -1
  43. package/__cjs/masking/maskDefinition.cjs +2 -2
  44. package/__cjs/masking/maskFragment.cjs +2 -2
  45. package/__cjs/masking/maskOperation.cjs +1 -1
  46. package/__cjs/masking/utils.cjs +3 -3
  47. package/__cjs/react/context/ApolloContext.cjs +1 -1
  48. package/__cjs/react/context/ApolloProvider.cjs +1 -1
  49. package/__cjs/react/hooks/internal/validateSuspenseHookOptions.cjs +2 -2
  50. package/__cjs/react/hooks/useApolloClient.cjs +1 -1
  51. package/__cjs/react/hooks/useBackgroundQuery.cjs.map +1 -1
  52. package/__cjs/react/hooks/useBackgroundQuery.d.cts +1 -1
  53. package/__cjs/react/hooks/useFragment.cjs.map +1 -1
  54. package/__cjs/react/hooks/useFragment.d.cts +0 -1
  55. package/__cjs/react/hooks/useLazyQuery.cjs +2 -2
  56. package/__cjs/react/hooks/useLazyQuery.cjs.map +1 -1
  57. package/__cjs/react/hooks/useLazyQuery.d.cts +1 -1
  58. package/__cjs/react/hooks/useLoadableQuery.cjs +2 -2
  59. package/__cjs/react/hooks/useMutation.cjs.map +1 -1
  60. package/__cjs/react/hooks/useMutation.d.cts +1 -1
  61. package/__cjs/react/hooks/useQuery.cjs.map +1 -1
  62. package/__cjs/react/hooks/useQuery.d.cts +1 -1
  63. package/__cjs/react/hooks/useSubscription.cjs +7 -3
  64. package/__cjs/react/hooks/useSubscription.cjs.map +1 -1
  65. package/__cjs/react/hooks/useSubscription.d.cts +7 -4
  66. package/__cjs/react/hooks/useSuspenseFragment.cjs.map +1 -1
  67. package/__cjs/react/hooks/useSuspenseFragment.d.cts +1 -1
  68. package/__cjs/react/hooks/useSuspenseQuery.cjs.map +1 -1
  69. package/__cjs/react/hooks/useSuspenseQuery.d.cts +1 -1
  70. package/__cjs/react/hooks/useSyncExternalStore.cjs +1 -1
  71. package/__cjs/react/internal/cache/QueryReference.cjs +1 -1
  72. package/__cjs/react/query-preloader/createQueryPreloader.cjs.map +1 -1
  73. package/__cjs/react/query-preloader/createQueryPreloader.d.cts +1 -1
  74. package/__cjs/react/ssr/prerenderStatic.cjs +2 -2
  75. package/__cjs/testing/core/mocking/mockLink.cjs +4 -4
  76. package/__cjs/utilities/graphql/DocumentTransform.cjs +1 -1
  77. package/__cjs/utilities/internal/coerceScalarFieldsToParsed.cjs +45 -12
  78. package/__cjs/utilities/internal/coerceScalarFieldsToParsed.cjs.map +1 -1
  79. package/__cjs/utilities/internal/getFragmentDefinition.cjs +3 -3
  80. package/__cjs/utilities/internal/getFragmentDefinition.cjs.map +1 -1
  81. package/__cjs/utilities/internal/getFragmentFromSelection.cjs +1 -1
  82. package/__cjs/utilities/internal/getFragmentQueryDocument.cjs +2 -2
  83. package/__cjs/utilities/internal/getMainDefinition.cjs +1 -1
  84. package/__cjs/utilities/internal/getQueryDefinition.cjs +1 -1
  85. package/__cjs/utilities/internal/index.cjs +6 -4
  86. package/__cjs/utilities/internal/index.cjs.map +1 -1
  87. package/__cjs/utilities/internal/index.d.cts +2 -2
  88. package/__cjs/utilities/internal/matchScalarList.cjs +12 -0
  89. package/__cjs/utilities/internal/matchScalarList.cjs.map +1 -0
  90. package/__cjs/utilities/internal/matchScalarList.d.cts +8 -0
  91. package/__cjs/utilities/internal/removeDirectivesFromDocument.cjs +1 -1
  92. package/__cjs/utilities/internal/shouldInclude.cjs +4 -4
  93. package/__cjs/utilities/internal/unwrapScalarType.cjs +12 -0
  94. package/__cjs/utilities/internal/unwrapScalarType.cjs.map +1 -0
  95. package/__cjs/utilities/internal/unwrapScalarType.d.cts +10 -0
  96. package/__cjs/utilities/internal/valueToObjectRepresentation.cjs +1 -1
  97. package/__cjs/version.cjs +1 -1
  98. package/__cjs/version.cjs.map +1 -1
  99. package/cache/core/Scalar.d.ts +0 -1
  100. package/cache/core/Scalar.js.map +1 -1
  101. package/cache/core/cache.d.ts +53 -8
  102. package/cache/core/cache.js +3 -3
  103. package/cache/core/cache.js.map +1 -1
  104. package/cache/index.d.ts +1 -1
  105. package/cache/index.js.map +1 -1
  106. package/cache/inmemory/entityStore.js +26 -11
  107. package/cache/inmemory/entityStore.js.map +1 -1
  108. package/cache/inmemory/helpers.d.ts +2 -1
  109. package/cache/inmemory/helpers.js +11 -0
  110. package/cache/inmemory/helpers.js.map +1 -1
  111. package/cache/inmemory/inMemoryCache.d.ts +4 -4
  112. package/cache/inmemory/inMemoryCache.js +36 -24
  113. package/cache/inmemory/inMemoryCache.js.map +1 -1
  114. package/cache/inmemory/key-extractor.js +1 -1
  115. package/cache/inmemory/policies.d.ts +3 -4
  116. package/cache/inmemory/policies.js +7 -8
  117. package/cache/inmemory/policies.js.map +1 -1
  118. package/cache/inmemory/readFromStore.js +3 -3
  119. package/cache/inmemory/types.d.ts +3 -1
  120. package/cache/inmemory/types.js.map +1 -1
  121. package/cache/inmemory/writeToStore.js +4 -4
  122. package/core/ApolloClient.js +14 -14
  123. package/core/ObservableQuery.js +8 -8
  124. package/core/QueryInfo.js +1 -1
  125. package/core/QueryManager.js +12 -12
  126. package/core/RefetchEventManager.js +3 -3
  127. package/core/index.d.ts +3 -2
  128. package/core/index.js.map +1 -1
  129. package/core/types.d.ts +9 -4
  130. package/core/types.js.map +1 -1
  131. package/incremental/handlers/graphql17Alpha9.js +1 -1
  132. package/incremental/handlers/notImplemented.js +1 -1
  133. package/invariantErrorCodes.js +131 -116
  134. package/link/core/ApolloLink.js +3 -3
  135. package/link/http/checkFetcher.js +1 -1
  136. package/link/http/parseAndCheckHttpResponse.js +1 -1
  137. package/link/persisted-queries/index.js +2 -2
  138. package/link/ws/index.js +1 -1
  139. package/local-state/LocalState.d.ts +1 -1
  140. package/local-state/LocalState.js +11 -11
  141. package/local-state/LocalState.js.map +1 -1
  142. package/masking/maskDefinition.js +2 -2
  143. package/masking/maskFragment.js +2 -2
  144. package/masking/maskOperation.js +1 -1
  145. package/masking/utils.js +3 -3
  146. package/package.json +1 -1
  147. package/react/context/ApolloContext.js +1 -1
  148. package/react/context/ApolloProvider.js +1 -1
  149. package/react/hooks/internal/validateSuspenseHookOptions.js +2 -2
  150. package/react/hooks/useApolloClient.js +1 -1
  151. package/react/hooks/useBackgroundQuery.d.ts +1 -1
  152. package/react/hooks/useBackgroundQuery.js.map +1 -1
  153. package/react/hooks/useFragment.d.ts +0 -1
  154. package/react/hooks/useFragment.js.map +1 -1
  155. package/react/hooks/useLazyQuery.d.ts +1 -1
  156. package/react/hooks/useLazyQuery.js +2 -2
  157. package/react/hooks/useLazyQuery.js.map +1 -1
  158. package/react/hooks/useLoadableQuery.js +2 -2
  159. package/react/hooks/useMutation.d.ts +1 -1
  160. package/react/hooks/useMutation.js.map +1 -1
  161. package/react/hooks/useQuery.d.ts +1 -1
  162. package/react/hooks/useQuery.js.map +1 -1
  163. package/react/hooks/useSubscription.d.ts +7 -4
  164. package/react/hooks/useSubscription.js +7 -3
  165. package/react/hooks/useSubscription.js.map +1 -1
  166. package/react/hooks/useSuspenseFragment.d.ts +1 -1
  167. package/react/hooks/useSuspenseFragment.js.map +1 -1
  168. package/react/hooks/useSuspenseQuery.d.ts +1 -1
  169. package/react/hooks/useSuspenseQuery.js.map +1 -1
  170. package/react/hooks/useSyncExternalStore.js +1 -1
  171. package/react/hooks-compiled/internal/validateSuspenseHookOptions.js +2 -2
  172. package/react/hooks-compiled/useApolloClient.js +1 -1
  173. package/react/hooks-compiled/useBackgroundQuery.d.ts +1 -1
  174. package/react/hooks-compiled/useBackgroundQuery.js.map +1 -1
  175. package/react/hooks-compiled/useFragment.d.ts +0 -1
  176. package/react/hooks-compiled/useFragment.js.map +1 -1
  177. package/react/hooks-compiled/useLazyQuery.d.ts +1 -1
  178. package/react/hooks-compiled/useLazyQuery.js +2 -2
  179. package/react/hooks-compiled/useLazyQuery.js.map +1 -1
  180. package/react/hooks-compiled/useLoadableQuery.js +2 -2
  181. package/react/hooks-compiled/useMutation.d.ts +1 -1
  182. package/react/hooks-compiled/useMutation.js.map +1 -1
  183. package/react/hooks-compiled/useQuery.d.ts +1 -1
  184. package/react/hooks-compiled/useQuery.js.map +1 -1
  185. package/react/hooks-compiled/useSubscription.d.ts +7 -4
  186. package/react/hooks-compiled/useSubscription.js +107 -93
  187. package/react/hooks-compiled/useSubscription.js.map +1 -1
  188. package/react/hooks-compiled/useSuspenseFragment.d.ts +1 -1
  189. package/react/hooks-compiled/useSuspenseFragment.js.map +1 -1
  190. package/react/hooks-compiled/useSuspenseQuery.d.ts +1 -1
  191. package/react/hooks-compiled/useSuspenseQuery.js.map +1 -1
  192. package/react/hooks-compiled/useSyncExternalStore.js +1 -1
  193. package/react/internal/cache/QueryReference.js +1 -1
  194. package/react/query-preloader/createQueryPreloader.d.ts +1 -1
  195. package/react/query-preloader/createQueryPreloader.js.map +1 -1
  196. package/react/ssr/prerenderStatic.js +2 -2
  197. package/testing/core/mocking/mockLink.js +4 -4
  198. package/utilities/graphql/DocumentTransform.js +1 -1
  199. package/utilities/internal/coerceScalarFieldsToParsed.js +40 -11
  200. package/utilities/internal/coerceScalarFieldsToParsed.js.map +1 -1
  201. package/utilities/internal/getFragmentDefinition.js +3 -3
  202. package/utilities/internal/getFragmentDefinition.js.map +1 -1
  203. package/utilities/internal/getFragmentFromSelection.js +1 -1
  204. package/utilities/internal/getFragmentQueryDocument.js +2 -2
  205. package/utilities/internal/getMainDefinition.js +1 -1
  206. package/utilities/internal/getQueryDefinition.js +1 -1
  207. package/utilities/internal/index.d.ts +2 -2
  208. package/utilities/internal/index.js +2 -1
  209. package/utilities/internal/index.js.map +1 -1
  210. package/utilities/internal/matchScalarList.d.ts +8 -0
  211. package/utilities/internal/matchScalarList.js +9 -0
  212. package/utilities/internal/matchScalarList.js.map +1 -0
  213. package/utilities/internal/removeDirectivesFromDocument.js +1 -1
  214. package/utilities/internal/shouldInclude.js +4 -4
  215. package/utilities/internal/unwrapScalarType.d.ts +10 -0
  216. package/utilities/internal/unwrapScalarType.js +9 -0
  217. package/utilities/internal/unwrapScalarType.js.map +1 -0
  218. package/utilities/internal/valueToObjectRepresentation.js +1 -1
  219. package/version.js +1 -1
  220. package/version.js.map +1 -1
  221. package/__cjs/utilities/internal/getUnwrappedType.cjs +0 -20
  222. package/__cjs/utilities/internal/getUnwrappedType.cjs.map +0 -1
  223. package/__cjs/utilities/internal/getUnwrappedType.d.cts +0 -8
  224. package/__cjs/utilities/internal/types/NoInfer.cjs +0 -3
  225. package/__cjs/utilities/internal/types/NoInfer.cjs.map +0 -1
  226. package/__cjs/utilities/internal/types/NoInfer.d.cts +0 -35
  227. package/utilities/internal/getUnwrappedType.d.ts +0 -8
  228. package/utilities/internal/getUnwrappedType.js +0 -17
  229. package/utilities/internal/getUnwrappedType.js.map +0 -1
  230. package/utilities/internal/types/NoInfer.d.ts +0 -35
  231. package/utilities/internal/types/NoInfer.js +0 -2
  232. package/utilities/internal/types/NoInfer.js.map +0 -1
@@ -38,7 +38,7 @@ string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql`
38
38
  message: "Document node must be a query, mutation, or subscription"
39
39
  },
40
40
 
41
- 7: {
41
+ 8: {
42
42
  file: "@apollo/client/utilities/internal/getFragmentDefinition.js",
43
43
  condition: "doc.kind === \"Document\"",
44
44
 
@@ -46,73 +46,73 @@ string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql`
46
46
  string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql`
47
47
  },
48
48
 
49
- 8: {
49
+ 9: {
50
50
  file: "@apollo/client/utilities/internal/getFragmentDefinition.js",
51
51
  condition: "doc.definitions.length <= 1",
52
52
  message: "Fragment must have exactly one definition."
53
53
  },
54
54
 
55
- 9: {
55
+ 10: {
56
56
  file: "@apollo/client/utilities/internal/getFragmentDefinition.js",
57
57
  condition: "fragmentDef.kind === \"FragmentDefinition\"",
58
58
  message: "Must be a fragment definition."
59
59
  },
60
60
 
61
- 10: {
61
+ 11: {
62
62
  file: "@apollo/client/utilities/internal/getFragmentFromSelection.js",
63
63
  condition: "fragment",
64
64
  message: `No fragment named %s`
65
65
  },
66
66
 
67
- 11: {
67
+ 12: {
68
68
  file: "@apollo/client/utilities/internal/getFragmentQueryDocument.js",
69
69
 
70
70
  message: `Found a %s operation%s. ` +
71
71
  "No operations are allowed when using a fragment as a query. Only fragments are allowed."
72
72
  },
73
73
 
74
- 12: {
74
+ 13: {
75
75
  file: "@apollo/client/utilities/internal/getFragmentQueryDocument.js",
76
76
  condition: "fragments.length === 1",
77
77
  message: `Found %s fragments. \`fragmentName\` must be provided when there is not exactly 1 fragment.`
78
78
  },
79
79
 
80
- 13: {
80
+ 14: {
81
81
  file: "@apollo/client/utilities/internal/getMainDefinition.js",
82
82
  message: "Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."
83
83
  },
84
84
 
85
- 14: {
85
+ 15: {
86
86
  file: "@apollo/client/utilities/internal/getQueryDefinition.js",
87
87
  condition: "queryDef && queryDef.operation === \"query\"",
88
88
  message: "Must contain a query definition."
89
89
  },
90
90
 
91
- 16: {
91
+ 17: {
92
92
  file: "@apollo/client/utilities/internal/shouldInclude.js",
93
93
  condition: "evaledValue !== void 0",
94
94
  message: `Invalid variable referenced in @%s directive.`
95
95
  },
96
96
 
97
- 17: {
97
+ 18: {
98
98
  file: "@apollo/client/utilities/internal/shouldInclude.js",
99
99
  condition: "directiveArguments && directiveArguments.length === 1",
100
100
  message: `Incorrect number of arguments for the @%s directive.`
101
101
  },
102
102
 
103
- 18: {
103
+ 19: {
104
104
  file: "@apollo/client/utilities/internal/shouldInclude.js",
105
105
  condition: "ifArgument.name && ifArgument.name.value === \"if\"",
106
106
  message: `Invalid argument for the @%s directive.`
107
107
  },
108
108
 
109
- 19: {
109
+ 20: {
110
110
  file: "@apollo/client/utilities/internal/shouldInclude.js",
111
111
  condition: "ifValue &&\n (ifValue.kind === \"Variable\" || ifValue.kind === \"BooleanValue\")",
112
112
  message: `Argument for the @%s directive must be a variable or a boolean value.`
113
113
  },
114
114
 
115
- 20: {
115
+ 21: {
116
116
  file: "@apollo/client/utilities/internal/valueToObjectRepresentation.js",
117
117
 
118
118
  message: `The inline argument "%s" of kind "%s"` +
@@ -120,37 +120,37 @@ string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql`
120
120
  "overcome this limitation."
121
121
  },
122
122
 
123
- 21: {
123
+ 22: {
124
124
  file: "@apollo/client/utilities/graphql/DocumentTransform.js",
125
125
  condition: "Array.isArray(cacheKeys)",
126
126
  message: "`getCacheKey` must return an array or undefined"
127
127
  },
128
128
 
129
- 22: {
129
+ 23: {
130
130
  file: "@apollo/client/testing/core/mocking/mockLink.js",
131
131
  condition: "max > min",
132
132
  message: "realisticDelay: `min` must be less than `max`"
133
133
  },
134
134
 
135
- 23: {
135
+ 24: {
136
136
  file: "@apollo/client/testing/core/mocking/mockLink.js",
137
137
  condition: "queryWithoutClientOnlyDirectives",
138
138
  message: "query is required"
139
139
  },
140
140
 
141
- 24: {
141
+ 25: {
142
142
  file: "@apollo/client/testing/core/mocking/mockLink.js",
143
143
  condition: "serverQuery",
144
144
  message: "Cannot mock a client-only query. Mocked responses should contain at least one non-client field."
145
145
  },
146
146
 
147
- 25: {
147
+ 26: {
148
148
  file: "@apollo/client/testing/core/mocking/mockLink.js",
149
149
  condition: "(mock.maxUsageCount ?? 1) > 0",
150
150
  message: "Mocked response `maxUsageCount` must be greater than 0. Given %s"
151
151
  },
152
152
 
153
- 26: {
153
+ 27: {
154
154
  file: "@apollo/client/react/ssr/prerenderStatic.js",
155
155
  condition: "renderCount <= maxRerenders",
156
156
 
@@ -160,19 +160,19 @@ and need to increase the \`maxRerender\` option to \`prerenderStatic\`, or that
160
160
  you have an infinite render loop in your application.`
161
161
  },
162
162
 
163
- 27: {
163
+ 28: {
164
164
  file: "@apollo/client/react/ssr/prerenderStatic.js",
165
165
  condition: "!signal?.aborted",
166
166
  message: "The operation was aborted before it could be attempted."
167
167
  },
168
168
 
169
- 28: {
169
+ 29: {
170
170
  file: "@apollo/client/react/internal/cache/QueryReference.js",
171
171
  condition: "!queryRef || QUERY_REFERENCE_SYMBOL in queryRef",
172
172
  message: "Expected a QueryRef object, but got something else instead."
173
173
  },
174
174
 
175
- 29: {
175
+ 30: {
176
176
  file: "@apollo/client/react/hooks/useApolloClient.js",
177
177
  condition: "!!client",
178
178
 
@@ -181,43 +181,43 @@ you have an infinite render loop in your application.`
181
181
  "instance in via options."
182
182
  },
183
183
 
184
- 30: {
184
+ 31: {
185
185
  file: "@apollo/client/react/hooks/useLazyQuery.js",
186
186
  condition: "resultRef.current",
187
187
  message: "useLazyQuery: '%s' cannot be called before executing the query."
188
188
  },
189
189
 
190
- 31: {
190
+ 32: {
191
191
  file: "@apollo/client/react/hooks/useLazyQuery.js",
192
192
  condition: "!calledDuringRender()",
193
193
  message: "useLazyQuery: 'execute' should not be called during render. To start a query during render, use the 'useQuery' hook."
194
194
  },
195
195
 
196
- 32: {
196
+ 33: {
197
197
  file: "@apollo/client/react/hooks/useLoadableQuery.js",
198
198
  condition: "!calledDuringRender()",
199
199
  message: "useLoadableQuery: 'loadQuery' should not be called during render. To start a query during render, use the 'useBackgroundQuery' hook."
200
200
  },
201
201
 
202
- 33: {
202
+ 34: {
203
203
  file: "@apollo/client/react/hooks/useLoadableQuery.js",
204
204
  condition: "internalQueryRef",
205
205
  message: "The query has not been loaded. Please load the query."
206
206
  },
207
207
 
208
- 34: {
208
+ 35: {
209
209
  file: "@apollo/client/react/hooks/useSubscription.js",
210
210
  condition: "!optionsRef.current.skip",
211
211
  message: "A subscription that is skipped cannot be restarted."
212
212
  },
213
213
 
214
- 36: {
214
+ 37: {
215
215
  file: "@apollo/client/react/hooks/internal/validateSuspenseHookOptions.js",
216
216
  condition: "supportedFetchPolicies.includes(fetchPolicy)",
217
217
  message: `The fetch policy \`%s\` is not supported with suspense.`
218
218
  },
219
219
 
220
- 38: {
220
+ 39: {
221
221
  file: "@apollo/client/react/context/ApolloContext.js",
222
222
  condition: "\"createContext\" in React",
223
223
 
@@ -228,7 +228,7 @@ you have an infinite render loop in your application.`
228
228
  "For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components"
229
229
  },
230
230
 
231
- 39: {
231
+ 40: {
232
232
  file: "@apollo/client/react/context/ApolloProvider.js",
233
233
  condition: "context.client",
234
234
 
@@ -236,66 +236,66 @@ you have an infinite render loop in your application.`
236
236
  'sure you pass in your client via the "client" prop.'
237
237
  },
238
238
 
239
- 40: {
239
+ 41: {
240
240
  file: "@apollo/client/masking/maskDefinition.js",
241
241
  condition: "fragment",
242
242
  message: "Could not find fragment with name '%s'."
243
243
  },
244
244
 
245
- 42: {
245
+ 43: {
246
246
  file: "@apollo/client/masking/maskFragment.js",
247
247
  condition: "fragments.length === 1",
248
248
  message: `Found %s fragments. \`fragmentName\` must be provided when there is not exactly 1 fragment.`
249
249
  },
250
250
 
251
- 43: {
251
+ 44: {
252
252
  file: "@apollo/client/masking/maskFragment.js",
253
253
  condition: "!!fragment",
254
254
  message: `Could not find fragment with name "%s".`
255
255
  },
256
256
 
257
- 44: {
257
+ 45: {
258
258
  file: "@apollo/client/masking/maskOperation.js",
259
259
  condition: "definition",
260
260
  message: "Expected a parsed GraphQL document with a query, mutation, or subscription."
261
261
  },
262
262
 
263
- 48: {
263
+ 49: {
264
264
  file: "@apollo/client/local-state/LocalState.js",
265
265
  condition: "hasDirectives([\"client\"], document)",
266
266
  message: "Expected document to contain `@client` fields."
267
267
  },
268
268
 
269
- 49: {
269
+ 50: {
270
270
  file: "@apollo/client/local-state/LocalState.js",
271
271
  condition: "hasDirectives([\"client\"], document)",
272
272
  message: "Expected document to contain `@client` fields."
273
273
  },
274
274
 
275
- 50: {
275
+ 51: {
276
276
  file: "@apollo/client/local-state/LocalState.js",
277
277
  condition: "fragment",
278
278
  message: "No fragment named %s"
279
279
  },
280
280
 
281
- 56: {
281
+ 57: {
282
282
  file: "@apollo/client/local-state/LocalState.js",
283
283
  message: "Could not resolve __typename on object %o returned from resolver '%s'. '__typename' needs to be returned to properly resolve child fields."
284
284
  },
285
285
 
286
- 57: {
286
+ 58: {
287
287
  file: "@apollo/client/local-state/LocalState.js",
288
288
  condition: "fragment",
289
289
  message: `No fragment named %s`
290
290
  },
291
291
 
292
- 58: {
292
+ 59: {
293
293
  file: "@apollo/client/local-state/LocalState.js",
294
294
  condition: "cache.fragmentMatches",
295
295
  message: "The configured cache does not support fragment matching which will lead to incorrect results when executing local resolvers. Please use a cache that implements `fragmetMatches`."
296
296
  },
297
297
 
298
- 60: {
298
+ 61: {
299
299
  file: "@apollo/client/link/persisted-queries/index.js",
300
300
  condition: "options &&\n (typeof options.sha256 === \"function\" ||\n typeof options.generateHash === \"function\")",
301
301
 
@@ -304,13 +304,13 @@ you have an infinite render loop in your application.`
304
304
  "parameter."
305
305
  },
306
306
 
307
- 61: {
307
+ 62: {
308
308
  file: "@apollo/client/link/persisted-queries/index.js",
309
309
  condition: "forward",
310
310
  message: "PersistedQueryLink cannot be the last link in the chain."
311
311
  },
312
312
 
313
- 62: {
313
+ 63: {
314
314
  file: "@apollo/client/link/http/checkFetcher.js",
315
315
  condition: "fetcher || typeof fetch !== \"undefined\"",
316
316
 
@@ -328,30 +328,30 @@ const client = new ApolloClient({
328
328
  `
329
329
  },
330
330
 
331
- 63: {
331
+ 64: {
332
332
  file: "@apollo/client/link/http/parseAndCheckHttpResponse.js",
333
333
  condition: "response.body && typeof response.body.getReader === \"function\"",
334
334
  message: "Unknown type for `response.body`. Please use a `fetch` implementation that is WhatWG-compliant and that uses WhatWG ReadableStreams for `body`."
335
335
  },
336
336
 
337
- 66: {
337
+ 67: {
338
338
  file: "@apollo/client/link/core/ApolloLink.js",
339
339
  message: "request is not implemented"
340
340
  },
341
341
 
342
- 67: {
342
+ 68: {
343
343
  file: "@apollo/client/incremental/handlers/graphql17Alpha9.js",
344
344
  condition: "pending",
345
345
  message: "Could not find pending chunk for incremental value. Please file an issue for the Apollo Client team to investigate."
346
346
  },
347
347
 
348
- 68: {
348
+ 69: {
349
349
  file: "@apollo/client/incremental/handlers/notImplemented.js",
350
350
  condition: "!hasDirectives([\"defer\", \"stream\"], request.query)",
351
351
  message: "`@defer` and `@stream` are not supported without specifying an incremental handler. Please pass a handler as the `incrementalHandler` option to the `ApolloClient` constructor."
352
352
  },
353
353
 
354
- 69: {
354
+ 70: {
355
355
  file: "@apollo/client/core/ApolloClient.js",
356
356
  condition: "options.cache",
357
357
 
@@ -360,7 +360,7 @@ const client = new ApolloClient({
360
360
  "For more information, please visit: https://go.apollo.dev/c/docs"
361
361
  },
362
362
 
363
- 70: {
363
+ 71: {
364
364
  file: "@apollo/client/core/ApolloClient.js",
365
365
  condition: "options.link",
366
366
 
@@ -369,7 +369,7 @@ const client = new ApolloClient({
369
369
  "For more information, please visit: https://go.apollo.dev/c/docs"
370
370
  },
371
371
 
372
- 73: {
372
+ 74: {
373
373
  file: "@apollo/client/core/ApolloClient.js",
374
374
  condition: "options.fetchPolicy !== \"cache-and-network\"",
375
375
 
@@ -379,7 +379,7 @@ const client = new ApolloClient({
379
379
  "using a different fetchPolicy, such as cache-first or network-only."
380
380
  },
381
381
 
382
- 74: {
382
+ 75: {
383
383
  file: "@apollo/client/core/ApolloClient.js",
384
384
  condition: "options.fetchPolicy !== \"standby\"",
385
385
 
@@ -388,7 +388,7 @@ const client = new ApolloClient({
388
388
  "as cache-first or network-only."
389
389
  },
390
390
 
391
- 75: {
391
+ 76: {
392
392
  file: "@apollo/client/core/ApolloClient.js",
393
393
  condition: "options.query",
394
394
 
@@ -396,164 +396,164 @@ const client = new ApolloClient({
396
396
  "in the query option."
397
397
  },
398
398
 
399
- 76: {
399
+ 77: {
400
400
  file: "@apollo/client/core/ApolloClient.js",
401
401
  condition: "options.query.kind === \"Document\"",
402
402
  message: 'You must wrap the query string in a "gql" tag.'
403
403
  },
404
404
 
405
- 77: {
405
+ 78: {
406
406
  file: "@apollo/client/core/ApolloClient.js",
407
407
  condition: "!options.returnPartialData",
408
408
  message: "returnPartialData option only supported on watchQuery."
409
409
  },
410
410
 
411
- 78: {
411
+ 79: {
412
412
  file: "@apollo/client/core/ApolloClient.js",
413
413
  condition: "!options.pollInterval",
414
414
  message: "pollInterval option only supported on watchQuery."
415
415
  },
416
416
 
417
- 79: {
417
+ 80: {
418
418
  file: "@apollo/client/core/ApolloClient.js",
419
419
  condition: "!options.notifyOnNetworkStatusChange",
420
420
  message: "notifyOnNetworkStatusChange option only supported on watchQuery."
421
421
  },
422
422
 
423
- 80: {
423
+ 81: {
424
424
  file: "@apollo/client/core/ApolloClient.js",
425
425
  condition: "optionsWithDefaults.mutation",
426
426
  message: "The `mutation` option is required. Please provide a GraphQL document in the `mutation` option."
427
427
  },
428
428
 
429
- 81: {
429
+ 82: {
430
430
  file: "@apollo/client/core/ApolloClient.js",
431
431
  condition: "optionsWithDefaults.fetchPolicy === \"network-only\" ||\n optionsWithDefaults.fetchPolicy === \"no-cache\"",
432
432
  message: "Mutations only support 'network-only' or 'no-cache' fetch policies. The default 'network-only' behavior automatically writes mutation results to the cache. Passing 'no-cache' skips the cache write."
433
433
  },
434
434
 
435
- 83: {
435
+ 84: {
436
436
  file: "@apollo/client/core/ObservableQuery.js",
437
437
  condition: "fetchPolicy === \"standby\"",
438
438
  message: "The `variablesUnknown` option can only be used together with a `standby` fetch policy."
439
439
  },
440
440
 
441
- 85: {
441
+ 86: {
442
442
  file: "@apollo/client/core/ObservableQuery.js",
443
443
  condition: "this.options.fetchPolicy !== \"cache-only\"",
444
444
  message: "Cannot execute `fetchMore` for 'cache-only' query '%s'. Please use a different fetch policy."
445
445
  },
446
446
 
447
- 86: {
447
+ 87: {
448
448
  file: "@apollo/client/core/ObservableQuery.js",
449
449
  condition: "updateQuery",
450
450
  message: "You must provide an `updateQuery` function when using `fetchMore` with a `no-cache` fetch policy."
451
451
  },
452
452
 
453
- 92: {
453
+ 93: {
454
454
  file: "@apollo/client/core/QueryManager.js",
455
455
  message: "QueryManager stopped while query was in flight"
456
456
  },
457
457
 
458
- 93: {
458
+ 94: {
459
459
  file: "@apollo/client/core/QueryManager.js",
460
460
  condition: "this.localState",
461
461
  message: "Mutation '%s' contains `@client` fields with variables provided by `@export` but local state has not been configured."
462
462
  },
463
463
 
464
- 94: {
464
+ 95: {
465
465
  file: "@apollo/client/core/QueryManager.js",
466
466
  message: "Store reset while query was in flight (not completed in link chain)"
467
467
  },
468
468
 
469
- 97: {
469
+ 98: {
470
470
  file: "@apollo/client/core/QueryManager.js",
471
471
  condition: "!this.getDocumentInfo(query).hasClientExports || this.localState",
472
472
  message: "Subscription '%s' contains `@client` fields with variables provided by `@export` but local state has not been configured."
473
473
  },
474
474
 
475
- 98: {
475
+ 99: {
476
476
  file: "@apollo/client/core/QueryManager.js",
477
477
  condition: "this.localState",
478
478
  message: "%s '%s' contains `@client` fields but local state has not been configured."
479
479
  },
480
480
 
481
- 99: {
481
+ 100: {
482
482
  file: "@apollo/client/core/QueryManager.js",
483
483
  condition: "!hasIncrementalDirective",
484
484
  message: "%s '%s' contains `@client` and `@defer` directives. These cannot be used together."
485
485
  },
486
486
 
487
- 100: {
487
+ 101: {
488
488
  file: "@apollo/client/core/QueryManager.js",
489
489
  condition: "this.localState",
490
490
  message: "Query '%s' contains `@client` fields with variables provided by `@export` but local state has not been configured."
491
491
  },
492
492
 
493
- 102: {
493
+ 103: {
494
494
  file: "@apollo/client/core/QueryManager.js",
495
495
  condition: "this.localState",
496
496
  message: "Query '%s' contains `@client` fields but local state has not been configured."
497
497
  },
498
498
 
499
- 103: {
499
+ 104: {
500
500
  file: "@apollo/client/core/QueryManager.js",
501
501
  condition: "didEmitValue",
502
502
  message: "The link chain completed without emitting a value. This is likely unintentional and should be updated to emit a value before completing."
503
503
  },
504
504
 
505
- 107: {
505
+ 108: {
506
506
  file: "@apollo/client/cache/inmemory/entityStore.js",
507
507
  condition: "typeof dataId === \"string\"",
508
508
  message: "store.merge expects a string ID"
509
509
  },
510
510
 
511
- 110: {
511
+ 113: {
512
512
  file: "@apollo/client/cache/inmemory/key-extractor.js",
513
513
  condition: "extracted !== void 0",
514
514
  message: `Missing field '%s' while extracting keyFields from %s`
515
515
  },
516
516
 
517
- 111: {
517
+ 114: {
518
518
  file: "@apollo/client/cache/inmemory/policies.js",
519
519
  condition: "!old || old === which",
520
520
  message: `Cannot change root %s __typename more than once`
521
521
  },
522
522
 
523
- 114: {
523
+ 117: {
524
524
  file: "@apollo/client/cache/inmemory/policies.js",
525
525
  message: "Cannot automatically merge arrays"
526
526
  },
527
527
 
528
- 117: {
528
+ 120: {
529
529
  file: "@apollo/client/cache/inmemory/readFromStore.js",
530
530
  message: `No fragment named %s`
531
531
  },
532
532
 
533
- 118: {
533
+ 121: {
534
534
  file: "@apollo/client/cache/inmemory/readFromStore.js",
535
535
  condition: "!isReference(value)",
536
536
  message: `Missing selection set for object of type %s returned for query field %s`
537
537
  },
538
538
 
539
- 119: {
539
+ 122: {
540
540
  file: "@apollo/client/cache/inmemory/writeToStore.js",
541
541
  message: `Could not identify object %s`
542
542
  },
543
543
 
544
- 121: {
544
+ 124: {
545
545
  file: "@apollo/client/cache/inmemory/writeToStore.js",
546
546
  message: `No fragment named %s`
547
547
  }
548
548
  };
549
549
 
550
550
  export const devDebug = {
551
- 82: {
551
+ 83: {
552
552
  file: "@apollo/client/core/ApolloClient.js",
553
553
  message: `In client.refetchQueries, Promise.all promise rejected with error %o`
554
554
  },
555
555
 
556
- 89: {
556
+ 90: {
557
557
  file: "@apollo/client/core/ObservableQuery.js",
558
558
  message: `Missing cache result fields: %o`
559
559
  }
@@ -562,67 +562,72 @@ export const devDebug = {
562
562
  export const devLog = {};
563
563
 
564
564
  export const devWarn = {
565
- 37: {
565
+ 7: {
566
+ file: "@apollo/client/utilities/internal/coerceScalarFieldsToParsed.js",
567
+ message: "The custom scalar configuration for '%s' uses list type '%s', but the value is not an array. The value was coerced as '%s' anyway."
568
+ },
569
+
570
+ 38: {
566
571
  file: "@apollo/client/react/hooks/internal/validateSuspenseHookOptions.js",
567
572
  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."
568
573
  },
569
574
 
570
- 41: {
575
+ 42: {
571
576
  file: "@apollo/client/masking/maskDefinition.js",
572
577
  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."
573
578
  },
574
579
 
575
- 45: {
580
+ 46: {
576
581
  file: "@apollo/client/masking/utils.js",
577
582
  message: "@unmask 'mode' argument does not support variables."
578
583
  },
579
584
 
580
- 46: {
585
+ 47: {
581
586
  file: "@apollo/client/masking/utils.js",
582
587
  message: "@unmask 'mode' argument must be of type string."
583
588
  },
584
589
 
585
- 47: {
590
+ 48: {
586
591
  file: "@apollo/client/masking/utils.js",
587
592
  message: "@unmask 'mode' argument does not recognize value '%s'."
588
593
  },
589
594
 
590
- 51: {
595
+ 52: {
591
596
  file: "@apollo/client/local-state/LocalState.js",
592
597
  message: "The '%s' field resolves the value from the cache, for example from a 'read' function, but a 'no-cache' fetch policy was used. The field value has been set to `null`. Either define a local resolver or use a fetch policy that uses the cache to ensure the field is resolved correctly."
593
598
  },
594
599
 
595
- 52: {
600
+ 53: {
596
601
  file: "@apollo/client/local-state/LocalState.js",
597
602
  message: "Could not find a resolver for the '%s' field nor does the cache resolve the field. The field value has been set to `null`. Either define a resolver for the field or ensure the cache can resolve the value, for example, by adding a 'read' function to a field policy in 'InMemoryCache'."
598
603
  },
599
604
 
600
- 53: {
605
+ 54: {
601
606
  file: "@apollo/client/local-state/LocalState.js",
602
607
  message: "The '%s' resolver returned `undefined` instead of a value. This is likely a bug in the resolver. If you didn't mean to return a value, return `null` instead."
603
608
  },
604
609
 
605
- 54: {
610
+ 55: {
606
611
  file: "@apollo/client/local-state/LocalState.js",
607
612
  message: "The '%s' field had no cached value and only forced resolvers were run. The value was set to `null`."
608
613
  },
609
614
 
610
- 55: {
615
+ 56: {
611
616
  file: "@apollo/client/local-state/LocalState.js",
612
617
  message: "The '%s' field on object %o returned `undefined` instead of a value. The parent resolver did not include the property in the returned value and there was no resolver defined for the field."
613
618
  },
614
619
 
615
- 59: {
620
+ 60: {
616
621
  file: "@apollo/client/link/ws/index.js",
617
622
  message: "`WebSocketLink` uses the deprecated and unmaintained `subscriptions-transport-ws` library. This link is no longer maintained and will be removed in a future major version of Apollo Client. We recommend switching to `GraphQLWsLink` which uses the `graphql-ws` library to send GraphQL operations through WebSocket connections (https://the-guild.dev/graphql/ws)."
618
623
  },
619
624
 
620
- 64: {
625
+ 65: {
621
626
  file: "@apollo/client/link/core/ApolloLink.js",
622
627
  message: "[ApolloLink.split]: The test function returned a non-boolean value which could result in subtle bugs (e.g. such as using an `async` function which always returns a truthy value). Got `%o`."
623
628
  },
624
629
 
625
- 65: {
630
+ 66: {
626
631
  file: "@apollo/client/link/core/ApolloLink.js",
627
632
 
628
633
  message: "The terminating link provided to `ApolloLink.execute` called `forward` instead of handling the request. " +
@@ -631,29 +636,29 @@ export const devWarn = {
631
636
  "If you are using a split link, ensure each branch contains a terminating link that handles the request."
632
637
  },
633
638
 
634
- 71: {
639
+ 72: {
635
640
  file: "@apollo/client/core/ApolloClient.js",
636
641
  message: "`refetchOn` was set on query '%s' but no `RefetchEventManager` is configured on this `ApolloClient` instance. This option has no effect until a RefetchEventManager is connected to this client. Pass a `RefetchEventManager` instance to the `refetchEventManager` option on the `ApolloClient` constructor."
637
642
  },
638
643
 
639
- 72: {
644
+ 73: {
640
645
  file: "@apollo/client/core/ApolloClient.js",
641
646
  message: "`refetchOn` references the '%s' event on query '%s' but no source is configured for it on the `RefetchEventManager`. This event will never fire. Add a source for the event to the `sources` option or call `setEventSource` on the refetch event manager."
642
647
  },
643
648
 
644
- 84: {
649
+ 85: {
645
650
  file: "@apollo/client/core/ObservableQuery.js",
646
651
 
647
652
  message: `Called refetch(%o) for query %o, which does not declare a $variables variable.
648
653
  Did you mean to call refetch(variables) instead of refetch({ variables })?`
649
654
  },
650
655
 
651
- 88: {
656
+ 89: {
652
657
  file: "@apollo/client/core/ObservableQuery.js",
653
658
  message: "Cannot poll on 'cache-only' query '%s' and as such, polling is disabled. Please use a different fetch policy."
654
659
  },
655
660
 
656
- 90: {
661
+ 91: {
657
662
  file: "@apollo/client/core/ObservableQuery.js",
658
663
 
659
664
  message: `Apollo Client stopped refetching '%s' because the same incomplete cache result was already refetched. Automatic refetching was halted to prevent an endless cycle of network requests.
@@ -673,7 +678,7 @@ For more information about these options, please refer to the documentation:
673
678
  `
674
679
  },
675
680
 
676
- 91: {
681
+ 92: {
677
682
  file: "@apollo/client/core/QueryInfo.js",
678
683
 
679
684
  message: `The network result for query %s was written to the cache, but reading it back returned a partial result.
@@ -692,37 +697,37 @@ For more information, please refer to the documentation:
692
697
  `
693
698
  },
694
699
 
695
- 95: {
700
+ 96: {
696
701
  file: "@apollo/client/core/QueryManager.js",
697
702
  message: `Unknown query named "%s" requested in refetchQueries options.include array`
698
703
  },
699
704
 
700
- 96: {
705
+ 97: {
701
706
  file: "@apollo/client/core/QueryManager.js",
702
707
  message: `Unknown anonymous query requested in refetchQueries options.include array`
703
708
  },
704
709
 
705
- 101: {
710
+ 102: {
706
711
  file: "@apollo/client/core/QueryManager.js",
707
712
  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.'
708
713
  },
709
714
 
710
- 104: {
715
+ 105: {
711
716
  file: "@apollo/client/core/RefetchEventManager.js",
712
717
  message: "Connected an `ApolloClient` instance to a `RefetchEventManager` that was already connected to a different `ApolloClient`. The previous client has been disconnected and will no longer receive refetch events from this manager."
713
718
  },
714
719
 
715
- 105: {
720
+ 106: {
716
721
  file: "@apollo/client/core/RefetchEventManager.js",
717
722
  message: "Received '%s' event but an `ApolloClient` instance is not connected to the `RefetchEventManager`. No queries will refetch. Pass the manager to the `refetchEventManager` option on the `ApolloClient` constructor."
718
723
  },
719
724
 
720
- 106: {
725
+ 107: {
721
726
  file: "@apollo/client/core/RefetchEventManager.js",
722
727
  message: "Received '%s' event but no source is configured for it on the `RefetchEventManager`. No queries will refetch. Add the event to the `sources` option or call `setEventSource`."
723
728
  },
724
729
 
725
- 108: {
730
+ 109: {
726
731
  file: "@apollo/client/cache/inmemory/entityStore.js",
727
732
 
728
733
  message: "cache.modify: You are trying to write a Reference that is not part of the store: %o\n" +
@@ -730,34 +735,44 @@ For more information, please refer to the documentation:
730
735
  "`toReference(object, true)`"
731
736
  },
732
737
 
733
- 109: {
738
+ 110: {
734
739
  file: "@apollo/client/cache/inmemory/entityStore.js",
735
740
 
736
741
  message: "cache.modify: Writing an array with a mix of both References and Objects will not result in the Objects being normalized correctly.\n" +
737
742
  "Please convert the object instance %o to a Reference before writing it to the cache by calling `toReference(object, true)`."
738
743
  },
739
744
 
745
+ 111: {
746
+ file: "@apollo/client/cache/inmemory/entityStore.js",
747
+ message: "The custom scalar configuration for '%s' uses list type '%s', but the value is not an array. The value was coerced as '%s' anyway."
748
+ },
749
+
740
750
  112: {
751
+ file: "@apollo/client/cache/inmemory/inMemoryCache.js",
752
+ message: "The variable '%s' has list type '%s', but the value is not an array. The value was coerced as '%s' anyway."
753
+ },
754
+
755
+ 115: {
741
756
  file: "@apollo/client/cache/inmemory/policies.js",
742
757
  message: `Inferring subtype %s of supertype %s`
743
758
  },
744
759
 
745
- 113: {
760
+ 116: {
746
761
  file: "@apollo/client/cache/inmemory/policies.js",
747
762
  message: `Undefined 'from' passed to readField with arguments %s`
748
763
  },
749
764
 
750
- 115: {
765
+ 118: {
751
766
  file: "@apollo/client/cache/inmemory/policies.js",
752
767
  message: "The field policy for '%s' is configured with the '%s' scalar, so its '%s' function is ignored. Scalar configuration cannot be used with custom read or merge functions."
753
768
  },
754
769
 
755
- 116: {
770
+ 119: {
756
771
  file: "@apollo/client/cache/inmemory/readFromStore.js",
757
772
  message: "The field policy for '%s' is configured with the '%s' scalar, but the field is not a scalar field because it contains a selection set. The field value remains unchanged."
758
773
  },
759
774
 
760
- 122: {
775
+ 125: {
761
776
  file: "@apollo/client/cache/inmemory/writeToStore.js",
762
777
 
763
778
  message: `Cache data may be lost when replacing the %s field of a %s object.
@@ -776,29 +791,29 @@ For more information about these options, please refer to the documentation:
776
791
  `
777
792
  },
778
793
 
779
- 123: {
794
+ 126: {
780
795
  file: "@apollo/client/cache/core/cache.js",
781
796
  message: "Could not identify object passed to `from` for '%s' fragment, either because the object is non-normalized or the key fields are missing. If you are masking this object, please ensure the key fields are requested by the parent object."
782
797
  }
783
798
  };
784
799
 
785
800
  export const devError = {
786
- 15: {
801
+ 16: {
787
802
  file: "@apollo/client/utilities/internal/removeDirectivesFromDocument.js",
788
803
  message: `Could not find operation or fragment`
789
804
  },
790
805
 
791
- 35: {
806
+ 36: {
792
807
  file: "@apollo/client/react/hooks/useSyncExternalStore.js",
793
808
  message: "The result of getSnapshot should be cached to avoid an infinite loop"
794
809
  },
795
810
 
796
- 87: {
811
+ 88: {
797
812
  file: "@apollo/client/core/ObservableQuery.js",
798
813
  message: "Unhandled GraphQL subscription error"
799
814
  },
800
815
 
801
- 120: {
816
+ 123: {
802
817
  file: "@apollo/client/cache/inmemory/writeToStore.js",
803
818
  message: `Missing field '%s' while writing result %o`
804
819
  }