executeCacheAndNetwork

Deprecated (with error)

Use fetchPolicy(FetchPolicy.CacheAndNetwork) instead

Replace with

fetchPolicy(FetchPolicy.CacheAndNetwork).toFlow()

Gets the result from the cache first and always fetch from the network. Use this to get an early cached result while also updating the network values.

Any FetchPolicy previously set will be ignored