Hi <@UDVMV4NBU>. I have a generated client calling...
# micronaut
m
Hi @Graeme. I have a generated client calling another API end point with a list of values. The call from the client is coming through with a comma separated list of values instead of the list. From the caller, the client definition is:
Copy code
interface GeneratedPriceClient: PriceClient {
    @Get("/v0/prices{?skuId,currency,locale}")
    override fun getPricesBySkuId(
            @QueryValue("skuId") skuIds: List<String>?,
            ...
The controller definition is:
Copy code
@Controller("/v0")
class PriceController(private val service: ProductPriceService) {
    @Get("/prices{?currency,skuId,locale}")
    fun getPricesBySkuId(
            @QueryValue("skuId") skuIds: List<String>?,
            ...
If I call the controller with
/v0/prices?skuId=1&skuId=2&skuId=3
it comes through as a list correctly, but the generated client is making a call with
&skuId=1,2,3
as a comma separated list instead of multiple skuId query parameters. Is this controllable/expected?