You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2023. It is now read-only.
I have a problem where my mutation returns some results, but the refetchQuery is not done yet.
I want to stop an animation (remove a css class) when the refetchQuery is finished (so when the data is refreshed), not when the result of the mutation is Data(_).
For this, the mutation should return Data(_) only after the refetchQueries are done.
It seems that Apollo provides a boolean called awaitRefetchQueries, to make sure refetched queries are completed before the mutation is considered done.
Hello,
I have a problem where my mutation returns some results, but the refetchQuery is not done yet.
I want to stop an animation (remove a css class) when the refetchQuery is finished (so when the data is refreshed), not when the result of the mutation is Data(_).
For this, the mutation should return Data(_) only after the refetchQueries are done.
It seems that Apollo provides a boolean called awaitRefetchQueries, to make sure refetched queries are completed before the mutation is considered done.
If I try in my mutation :
the compiler says : This argument cannot be applied with label ~awaitRefetchQueries
Does anyone use this with graphql_ppx?
The text was updated successfully, but these errors were encountered: