New issue
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
cacheObject
with fields using customized cache IDs not updating
#11
Comments
The following from Apollo works
I assume the fix would involve detecting when a
instead of
as the filter function. |
Hey there, thanks for the heads up! |
@jsindos I've fixed the issue in v2.1.1 - please see if it works for you. :) |
@mindnektar that works, thanks for fixing it so quickly :) |
It seems like
apollo-augmented-hooks/useMutation
isn't able to update acacheObject
with fields who have customized cache IDs. In this case,ProductInBag
has a custom cache ID derived fromselectedOption.id
, it's not removed frombag
when usingincludeIf(false)
.The text was updated successfully, but these errors were encountered: