Quarkus RestEasy Reactive Not Exploding List Type Query Parameter #27115
-
I have a query parameter declared as follows in my method (@restquery String[] someList) However when I go to reference this data, the array is converted to an array of 1 String. Am I doing something wrong here? Is it because of how I'm entering my query parameters? I tend to use the shorthand comma separated value notation and only ref the parameter name one time in the URL. I prefer this in order to keep the URL shorter. For instance www.example.com?someList=value1,value2,value3 as opposed to www.example.com?someList=value1&someList=value2&someList=value3 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
/cc @FroMage, @geoand, @stuartwdouglas |
Beta Was this translation helpful? Give feedback.
-
Have you tried using a |
Beta Was this translation helpful? Give feedback.
-
Just for documentation, if someone else stumbles over this problem and request here: Here is the discussion #29500 leading to this really nice improvement #29528 enabling @GET
public String hello(@QueryParam("foo") @Separator(",") List<String> foo) {} |
Beta Was this translation helpful? Give feedback.
Just for documentation, if someone else stumbles over this problem and request here:
Here is the discussion #29500 leading to this really nice improvement #29528 enabling