Comments (13)
Thanks! I've removed the example about CacheAndNetwork
here.
I've left the caveat about false negatives for now - I'm a bit reluctant to remove it since it still makes sense that some producers may not have a way to know when an item is the last one, even if I can't think of specific examples of that.
from apollo-kotlin.
That's great, thanks for addressing this!
When we mention that some producers may not know when the item is the last one, is that for other interceptors that users of this library may be creating themselves, or something that even if you can't think of a real example, may still potentiall happen using any of the CacheFirst, CacheOnly, NetworkOnly, NetworkFirst and CacheAndNetwork fetch policies?
from apollo-kotlin.
User defined interceptors is certainly a case. This should never happen due to the regular fetch policies.
I was also thinking of something like @defer
where the backend emits several items - in that instance we actually do know when an item is the last, but I'm imagining maybe future GraphQL features won't be able to guarantee it.
from apollo-kotlin.
Related Issues (20)
- Cleanups 🧹
- Clarify the handling of HTTP status codes and Accept graphql-response+json
- [IJ/AS plugin] Internal error: NullPointerException HOT 1
- Currency balance
- Gradle plugin: change default values of some configurations
- Add cause to ApolloNetworkException thrown when offline
- iOS error on gradle sync "Could not resolve com.apollographql.apollo:apollo-compiler:4.0.0-rc.1" HOT 3
- Is MapTestNetworkTransport inconsistent with error handling in version 4? HOT 3
- Κβαντικοί υπολογιστές: Τι είναι η Q-Day και πόσο κοντά της είμαστε
- Κβαντικοί υπολογιστές: Τι είναι η Q-Day και πόσο κοντά της είμαστε
- Properties are not escaped in function body for input builders. HOT 10
- [runtime] allow changing the url and/or websocket connection payload
- Using `NetworkMonitor` to monitor offline state HOT 10
- Publish relocation information for moved Galaxy projects
- pdf-bot
- Was 3.8.3-SNAPSHOT removed? HOT 5
- Android Mobile App Apollo SDK Update - Schema Introspection Error HOT 1
- Is it possible to generate the query and data classes manually, without the Gradle plugin? HOT 3
- [Android] Apollo Introspection JsonDecodingException with Hasura server HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-kotlin.