We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I had an error caused by not querying a field, which was used as keyField in InMemoryCache configuration. It throw the following error:
keyField
InMemoryCache
Invariant Violation: Missing field 'name' while extracting keyFields from {"foo": "bar","__typename":"Post"}
Debugging was very challenging because that error is shadowed. I was able to get that error by putting a breakpoint here:
glimmer-apollo/packages/glimmer-apollo/src/-private/query.ts
Lines 75 to 90 in 1e507ec
The error was not logged in console. QueryResource.error was undefined.
QueryResource.error
undefined
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I had an error caused by not querying a field, which was used as
keyField
inInMemoryCache
configuration. It throw the following error:Debugging was very challenging because that error is shadowed. I was able to get that error by putting a breakpoint here:
glimmer-apollo/packages/glimmer-apollo/src/-private/query.ts
Lines 75 to 90 in 1e507ec
The error was not logged in console.
QueryResource.error
wasundefined
.The text was updated successfully, but these errors were encountered: