hasura_connect
hasura_connect copied to clipboard
How to prevent multiple entry?
I am doing a mutation and data is being inserted more than once. I have used tryAgain: false. Yet the problem persists.
Can anyone guide me here?
Hey @jacobaraujo7 Any help on this? My app is in production.
Hey any update on this? My app is in production and it's getting worse now.
The issue is here I believe
var mutationCache = await _localStorageMutation.getAll(); for (var key in mutationCache.keys) { await _sendPost(mutationCache[key], key); }
It's getting called multiple times so is the _sendPost.
I don't know why you are doing it like that.
I'm uploading an update, please test 1.2.2
The @jacobaraujo7 solution work @rajababu3 ?
I haven't tried it. I changed some code in my fork and using that. I believe @jacobaraujo7 will work.
I tested the new release. Problem persists
@jacobaraujo7
did this issue is solved?