apollo-kotlin
apollo-kotlin copied to clipboard
:robot: A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.
**Use case** I'm finding `ApolloCompositeException` annoying to handle. It contains multiple exceptions and you kind of have to pick one exception, and based on it show error message to user....
Using the normalized cache with lists and especially pages is cumbersome as different pages get stored in different records: ```graphql query GetRepositories($first: Int, $offset: Int) { repositories(first: $first, offset: $offset)...
**Use case** I'm using GraphQL Kotlin and the device becomes off-line. In such case the library could gather the changes and when the network is available again it could sync...
When using multi-modules and the same GraphQL type is used in two sibling modules, the `checkApolloDuplicates` task fails with ``` duplicate Type '$Foo' generated in modules: feature1, feature2 Use 'alwaysGenerateTypesMatching'...
For maven consumers or kotlin scripts, that do not understand Gradle metadata format, support a fallback mode like [kotlinx-serialization](https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-serialization-json/1.3.2/) for an example so that ``` "com.apollographql.apollo3:apollo-runtime:$version" ``` works like ```...
### Current situation `ApolloCall` exposes 2 APIs: - `suspend execute(): ApolloResponse` - `toFlow(): Flow` `execute()` will throw an `ApolloException` in case of a network, http, or cache error (can also...
ApolloStore: does `remove(key: CacheKey)` method remove `ApolloCacheReference` field in related records? I mean a mechanism like "ON DELETE CASCADE SET NULL" in RDBMS.
Make the SQLite cache fallback to a No-Op cache if the DB cannot be opened for some reason (most likely no storage left).
**Background** We are doing pagination via the apollo cache - The flow is basically watching an initial query for the first page and update the cache when more data is...