Skip to content

Using cache.writeFragment in a mutation update weird behavior #1663

Answered by codingnuclei
codingnuclei asked this question in Q&A
Discussion options

You must be logged in to vote

ok was kinda being a numpty on this one. As I had two version of the entity ("list" query was getting v2, "get" query was v1 ) updating one naturally didn't update the other.

I can confirm if I update the correct entity then it is reflected in the query.

Sorry for the time wasting 👎

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@codingnuclei
Comment options

@codingnuclei
Comment options

Comment options

You must be logged in to vote
1 reply
@kitten
Comment options

Answer selected by codingnuclei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants