Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow QueryMapEncoder accept null value #2086

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Commits on Jun 16, 2023

  1. Allow QueryMapEncoder accept null value

    For
    ```java
    @GetMapping
    public Paged<User> list(int page, int size, @QueryMap User user);
    ```
    now we can use
    ```java
    Paged<User> paged = userClient.list(1, 10, null);
    ```
    instead of
    ```java
    Paged<User> paged = userClient.list(1, 10, new User()); // query map will include primitive type default values which is unexpected
    ```
    quaff committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    e8ee60e View commit details
    Browse the repository at this point in the history