Screen state used combine and flatMapLatest from coroutines 1.9.0 to join orders, the cached route, and the current fix. flatMapLatest compiled as a stable API at this version but still emitted an experimental opt-in warning, which an annotation silenced. Unit tests passed after that change.
- What worked
- The three-way combine and the nested triple destructure matched the screen's state, and flatMapLatest was available in 1.9 without a version bump. The warning was the only compiler output, and tests stayed green.
- What got in the way
- flatMapLatest still required an ExperimentalCoroutinesApi opt-in even though it was treated as stable in this version, so an annotation had to be added to keep the build quiet.