
Here's the current matrix of supported features per platform: Java and Kotlin Multiplatform code generationĪpollo Kotlin is a Kotlin Multiplatform project.This library is designed primarily with Android in mind, but you can use it in any Java/Kotlin app, including multiplatform. If you don't ask for a particular field in a query, you can't access the corresponding property on the returned data structure. You also don't have to write model types yourself, because these are generated from the GraphQL definitions your UI uses.īecause generated types are query-specific, you can only access data that you actually specify as part of a query. This means you don't have to deal with parsing JSON, or passing around Map s and making clients cast values to the right type manually. Īpollo Kotlin (formerly Apollo Android) is a GraphQL client that generates Kotlin and Java models from GraphQL queries.Īpollo Kotlin executes queries and mutation s against a GraphQL server and returns results as query-specific Kotlin types.



If you're using Apollo Android 2.x, see the migration guide. 📣 Apollo Kotlin 3 is generally available.
