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
Can you clarify the use-case? It isn't immediately obvious what additional flexibility this offers, since you can just execute the function yourself to decide the value.
@morrys also curious if you could elaborate why you need this type of behavior. I'm not sure I follow why the fetchPolicy would change for the same request. Can you dynamically pass the fetchPolicy you need (to useQUery or the refetch function) from above?
I would like to suggest adding the possibility of passing a function as fetchPolicy. This change will be useful when new fetchPolicy will be added.
This allows you to have dynamic policies without having to change the parameter, for example:
The text was updated successfully, but these errors were encountered: