This plugin for Android Studio and IntelliJ helps you work with the Apollo Kotlin GraphQL library.
- Automatic code generation: models are re-generated whenever GraphQL files change
- Integration with the GraphQL IntelliJ Plugin: the structure of the Apollo project is automatically contributed, so there is no need to create a
graphql.config.yml
/.graphqlconfig
file - Navigation Kotlin code ⇄ GraphQL definitions
- Unused operations and fields highlighting
- Normalized cache viewer
- Migration helpers:
- Apollo Android 2.x → Apollo Kotlin 3.x
- Apollo Kotlin 3.x → Apollo Kotlin 4.x
compat
codegen →operationBased
codegen
- Integration with Rover for a rich schema editing experience
- More to come!
- Most features are intended to work with Apollo Kotlin 4.x
- Automatic code generation works with Apollo Kotlin 3.x and above
The plugin is supported on:
- IntelliJ 2024.2.1 and above
- Android Studio 2024.2.1 (Ladybug) and above
Marketplace > Search for "Apollo GraphQL" > Install
The plugin is published every Sunday in a specific snapshots repository. To use it, the repository URL must be configured:
Settings > Plugins > ⚙️ > Manage Plugin Repositories > + > https://go.apollo.dev/ij-plugin-snapshots
Then search for "Apollo GraphQL" and install the plugin as usual.