Skip to content

Add support for List<Enum> arguments in typesafe navigation - #725

Closed
WonderCsabo wants to merge 1 commit into
androidx:androidx-mainfrom
team-supercharge:typesafe-navigation-arg-enum-list
Closed

WonderCsabo wants to merge 1 commit into
androidx:androidx-mainfrom
team-supercharge:typesafe-navigation-arg-enum-list

Conversation

@WonderCsabo

Copy link
Copy Markdown
Contributor

Proposed Changes

Add support for List arguments in typesafe navigation

Testing

Test: ./gradlew navigation:navigation-common:test
Test: ./gradlew navigation:navigation-common:cC
Test: ./gradlew navigation:navigation-runtime:cC

Issues Fixed

Fixes: 375559962

@WonderCsabo
WonderCsabo force-pushed the typesafe-navigation-arg-enum-list branch 3 times, most recently from eb06a5b to 04b4d0b Compare November 11, 2024 09:00
@claraf3

claraf3 commented Nov 12, 2024

Copy link
Copy Markdown
Member

Hi, thanks for the PR!

Can you please also add tests in RouteDecoderTest.kt? It's basically the opposite equivalent of RouteFilledTest.

Test: ./gradlew navigation:navigation-common:test
Test: ./gradlew navigation:navigation-common:cC
Test: ./gradlew navigation:navigation-runtime:cC
Bug: 375559962
@WonderCsabo
WonderCsabo force-pushed the typesafe-navigation-arg-enum-list branch from 04b4d0b to 79289f5 Compare November 13, 2024 15:48
@WonderCsabo

Copy link
Copy Markdown
Contributor Author

Sure, i added the tests there.

@ianhanniballake

Copy link
Copy Markdown
Member

Thanks so much for fixing this!

@WonderCsabo
WonderCsabo deleted the typesafe-navigation-arg-enum-list branch November 20, 2024 09:40
@WonderCsabo

Copy link
Copy Markdown
Contributor Author

@ianhanniballake this fix was released in 2.8.5 and 2.9.0-alpha04, but it is not listed in the release notes. Can you add there, please?

@ianhanniballake

Copy link
Copy Markdown
Member

We've added a note to the release notes - thanks again!

In the future, note that you can add a Relnote: line in the pull request's description to ensure it gets into the release notes automatically.

MatkovIvan pushed a commit to JetBrains/compose-multiplatform-core that referenced this pull request Jul 10, 2025
## Proposed Changes

Add support for List<Enum> arguments in typesafe navigation

## Testing

Test: ./gradlew navigation:navigation-common:test
Test: ./gradlew navigation:navigation-common:cC
Test: ./gradlew navigation:navigation-runtime:cC

## Issues Fixed

Fixes: 375559962

This is an imported pull request from androidx#725.

Resolves #725
Github-Pr-Head-Sha: 79289f5
GitOrigin-RevId: 5d12e8b
(cherry picked from https://android-review.googlesource.com/q/commit:061287da098c4249bbe0b3a10add04feb9bdf5ae)
(cherry picked from https://android-review.googlesource.com/q/commit:fa9581cf9b203f4b8c2cae0e89485ef5ad26acff)
Merged-In: Ie67dc9665634751da06fad21c93e9475627e7e62
Change-Id: Ie67dc9665634751da06fad21c93e9475627e7e62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants