wasyl
06/21/2022, 12:21 PMnull
and refetches the query. Have you ever thought about some way to do migrations for the cached state of the queries, such that the app can continue working while offline? Such migrations could compute the default values or insert empty/null objects that the query will use for the time being, until it’s refetchedmbonnin
06/21/2022, 12:24 PMmbonnin
06/21/2022, 12:25 PMwasyl
06/21/2022, 12:25 PMmbonnin
06/21/2022, 12:27 PMmbonnin
06/21/2022, 12:28 PMmbonnin
06/21/2022, 12:29 PM@optional
directive that is the opposite of @nonnull
for these casesmbonnin
06/21/2022, 12:31 PMCacheResolver
API. You can technically add code there to "recover" from a cache misswasyl
06/21/2022, 12:37 PMmbonnin
06/21/2022, 12:37 PMCacheResolver
API is complex...