Skip to content

Unused custom annotations on method parameters should fail matching for default string converter. #2694

Open
@NightlyNexus

Description

@NightlyNexus

@GET("/") Call<ResponseBody> queryParameter(@Foo @Query("foo") Object foo);
This method currently will work without a custom string converter. The built-in string converter will simply call foo.toString(), and @Foo will be silently ignored. (...apparently, my first GH issue on Retrofit.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions