Medium Android App — Migrating from Apollo Kotlin 3 to 4: Lessons Learned
medium.engineering·4h

Press enter or click to view image in full size

Photo by Mario Verduzco on Unsplash

6 min readJust now

In this post, I’ll share my experience migrating the Medium Android app from Apollo Kotlin version 3 to version 4, including the challenges I encountered and how I solved them to improve our GraphQL implementation.

Understanding Our Apollo Cache Implementation

Before diving into the migration, it’s important to understand how we use Apollo’s cache in the Medium Android app. Our app relies heavily on Apollo’s normalized cache for several critical purposes:

Performance Optimization: We use FetchPolicy.CacheFirst as our default strategy, wh…

Similar Posts

Loading similar posts...