Benoit 'BoD' Lubek
Benoit 'BoD' Lubek
@naveenfunk yes that would make sense and is already the case when using `CacheAndNetwork` with the normalized cache
@naveenfunk the normalized cache already has `CacheAndNetwork` so it may fit your immediate need already. Compared to an http cache, it also has the advantage of data deduplication and the...
Hi @naveenfunk, this should work. One thing I can think of is sometimes it takes a while before the network stack is seen as offline (I've noticed it in particular...
In the end we've decided to skip this one, as a simple extension can be used instead: ```kotlin fun ApolloClient.queryCacheAndNetwork(query: Query): Flow { return flow { emitAll(query(query).httpFetchPolicy(HttpFetchPolicy.CacheOnly).toFlow()) emitAll(query(query).httpFetchPolicy(HttpFetchPolicy.NetworkOnly).toFlow()) } }...
Thanks for flagging! We made the write operations not suspending, but it turned out publish needs to be suspend - so publishing is now removed by default, which is a...
@edenman After some thinking, we think the behavior change warrants an API change, which makes it harder to miss. In #5976, we change the names of the non publishing write...
This has now been released in `4.0.0-rc.1`. Note: if you manually called `ApolloStore.publish()`, this is no longer needed with the RC onward, as the write methods now publish by default...
Idea: could we automate this somehow with the help of the api dumps?
See also: #5808 and #5823, reverted by #5842
Indeed, selecting `isOneOf` on `__Type` will result in an error on servers that don't support it yet - breaking introspection. To work around this, we implemented "2 step introspection": -...