feat: annotated string resolver#100
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds support for resolving Jetpack Compose's AnnotatedString type in the Android module by introducing AnnotatedStringResolver and registering it in AndroidResolverProvider. The feedback suggests declaring the Compose dependency as compileOnly and conditionally loading the resolver to prevent bloating the dependency graph and avoiding NoClassDefFoundError for non-Compose users. Additionally, it is recommended to optimize string generation using CharArray to avoid unnecessary allocations, and to remove the RobolectricTestRunner from the resolver's unit tests since AnnotatedString does not depend on Android framework APIs.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Summary
Describe what this pull request changes and why.
Checklist