You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A @RequestParam Optional<List<String>> param will only return the first element if the param is specified multiple times in the query-string.
e.g. ?param=a,b,c will return the expected value but ?param=a¶m=b¶m=c will not
This is inconsistent with @RequestParam List<String>> param behavior. I have a workaround by using @RequestParam(required = false) List<String> param but this is not ideal.