Skip to content

Named Query Parameters on GET requests #85

@devmop

Description

@devmop

Picking up the latest version I'd expect to be able to do something like the following

@RequestLine("GET /users?name={name}")
public JsonObject getUsersByName(@nAmed("name") String name);

Unfortunately this doesn't seem to work. The default encoder receives a LinkedHashMap and complains about it not being a String. The GsonEncoder copes fine with it but the end result is that a POST is made with the query parameters encoded into the body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions