Skip to content

Refreshing related lists #1015

Answered by yngwi
yngwi asked this question in Q&A
Sep 29, 2020 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hi again,
to specify the last part of my "related" question: during an after-mutation-update, is it possible to get the state of the mutated field before the mutation to do some updated on the cache (like the relationships mentioned above)? It seems possible to use the cache.inspectFields("Query") method go through the whole state and to find things that need updating but all this data is often already known because it follows directly from the state changes of the field during mutation, before and after the change.

Thanks again,
Daniel

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kitten
Comment options

@yngwi
Comment options

@kitten
Comment options

@yngwi
Comment options

Answer selected by yngwi
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