You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: all-clients/errorcodes.json
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,8 @@
84
84
"Cache data may be lost when replacing the %s field of a %s object.\n\nThis could cause additional (usually avoidable) network requests to fetch data that were otherwise cached.\n\nTo address this problem (which is not a bug in Apollo Client), %sdefine a custom merge function for the %s field, so InMemoryCache can safely merge these objects:\n\n existing: %o\n incoming: %o\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n",
85
85
"Mock response maxUsageCount must be greater than 0, %s given",
86
86
"useLoadableQuery: 'loadQuery' should not be called during render. To start a query during render, use the 'useBackgroundQuery' hook.",
87
-
"Unknown query %o requested in refetchQueries options.include array"
87
+
"Unknown query %o requested in refetchQueries options.include array",
88
+
"Expected a QueryRef object, but got something else instead."
88
89
],
89
90
"allConditions": [
90
91
null,
@@ -145,7 +146,9 @@
145
146
"doc.kind === \"Document\"",
146
147
"fragmentDef.kind === \"FragmentDefinition\"",
147
148
"mockedResponse.maxUsageCount > 0",
148
-
"!calledDuringRender()"
149
+
"!calledDuringRender()",
150
+
"!queryRef || QUERY_REFERENCE_SYMBOL in queryRef",
0 commit comments