Mutation context in offline mode
Hi, does anyone know if it is possible to access a mutation context without it being resolved yet (offline mode).
I'm creating temporaries ids on my onMutate callbacks that i then put on my query context (offline mode) and i'd like to access it even though onSuccess / onError / onSetteled have being called as I'm offline.
This is how my mutatinon function looks like, it is made to handle offline mode
What I would like is to be abble to call mutation.mutate and get the temp_id.
Anyone has an idea of how this could be achieved ?
Thanks !
0 Replies