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
I've been trying to get Resteasy Reactive to parse arrays of values in my URLs in the form of comma separated values rather than '&' separated values.
e.g. ?array=item1,item2,item3 rather than ?array=item1&array=item2&array=item3
This feature is available in the Resteasy classic extension through the usage of the @Separator annotation and the MultiValuedParamConverterProvider which comes included in resteasy-core and seems to be registered by default.
It would look something like:
@GET
public String hello(@QueryParam("foo") @Separator(",") List<String> foo) {}
It would be nice to have a similar way to do this for the Resteasy reactive extension.
Implementation ideas
Possibly by including these providers which are used by default in the Resteasy classic extension.
The text was updated successfully, but these errors were encountered:
This annotation allows to actually turn a String into a List<String>
automatically for each query param value
Resolves: quarkusio#29528
(cherry picked from commit f695369)
Description
I've been trying to get Resteasy Reactive to parse arrays of values in my URLs in the form of comma separated values rather than '&' separated values.
e.g. ?array=item1,item2,item3 rather than ?array=item1&array=item2&array=item3
This feature is available in the Resteasy classic extension through the usage of the @Separator annotation and the MultiValuedParamConverterProvider which comes included in resteasy-core and seems to be registered by default.
It would look something like:
It would be nice to have a similar way to do this for the Resteasy reactive extension.
Implementation ideas
Possibly by including these providers which are used by default in the Resteasy classic extension.
The text was updated successfully, but these errors were encountered: