Skip to content

Might need to URI encode inside the serializeAsValue function of your mapper #1

@StylianosGakis

Description

@StylianosGakis

Read your article and wanted to leave a comment but I don't have a Medium account :D
Over at https://github.com/ioannisa/NavTypeParcelableHelperLibrary/blob/81cd51d870ca23584d88d8f74325f26aa6a91417/NavHelper/src/main/java/eu/anifantakis/navhelper/navtype/NavTypeMapper.kt#L39C22-L41 you serialize the value to a String, however as noted here https://hrach.dev/posts/does-jetpack-navigation-meet-type-safety/ in the section URL encoding it's important not to forget to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions