Hello,
I have a Query and a Mutation after user click on an event the code execute the mutation and after that refetch the query. To the query I added :
notifyOnNetworkStatusChange: true,
fetchPolicy: 'cache-and-network',
nextFetchPolicy: "cache-first"
I have been noticing the refeth query is not refetching the nested list of objects for example:
customerCart {
id
prices {
grand_total {
value
currency
}
}
Is refetching the id of the customerCart but not the value of the currency .
I am doing this on React Native. I read some docs here to add the update to the mutation. Also to merge the cache in InMemoryCache but I am not sure if that is the correct aproach.
Admin note: Edited codeblock formatting