I have a few mutations that should trigger some refetchQueries, but I need those queries to have a fetchPolicy other than the default.
Is there a way to set fetchPolicy globally instead of per query? So to avoid setting fetchPolicy on each query.
I have a few mutations that should trigger some refetchQueries, but I need those queries to have a fetchPolicy other than the default.
Is there a way to set fetchPolicy globally instead of per query? So to avoid setting fetchPolicy on each query.
Copyright © 2021 Jogjafile Inc.
It is now possible!
See documentation: Apollo Client