Home / Companies / Apollo / Blog / Post Details
Content Deep Dive

4 New Year’s resolutions for your Kotlin apps

Blog post from Apollo

Post Details
Company
Date Published
Author
Martin Bonnin
Word Count
1,186
Language
English
Hacker News Points
-
Summary

Happy New Year everyone. The author shares four tips and tricks for working with GraphQL in Kotlin apps, focusing on improving the developer experience. First, using SDL (Schema Definition Language) can make schema definitions more concise and easier to read. Second, updating schema in GitHub Actions can automate this process, reducing build time and improving reproducibility. Third, failing on deprecated fields usages can help ensure consistency and prevent unnecessary code changes. Fourth, the data builders introduced in Apollo Kotlin 3.6.0 provide a convenient way to test GraphQL APIs without having to manually manage complex network requests or model constructors.