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

Got 400 error when annotating argument with @RequestParam(default value = "") #43

Closed
alalag1 opened this issue Mar 18, 2021 · 0 comments · Fixed by #54
Closed

Got 400 error when annotating argument with @RequestParam(default value = "") #43

alalag1 opened this issue Mar 18, 2021 · 0 comments · Fixed by #54
Labels
bug Something isn't working
Milestone

Comments

@alalag1
Copy link
Member

alalag1 commented Mar 18, 2021

Expected behavior

@GetMapping("/foo")
public void foo(@RequestParam(defaultValue = "") List<String> foo) {
    // ...
}

expecting a null(or empty ?) list value of argument foo

Actual behavior

400 error

Env

  • Restlight version: 0.1.0
  • JVM version: jdk8
@alalag1 alalag1 added the bug Something isn't working label Mar 18, 2021
@alalag1 alalag1 added this to the v0.1.1 milestone Mar 18, 2021
@alalag1 alalag1 linked a pull request May 12, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant