When migrating to retrofit to ktor, the list parameters passed to query builders were added with a list structure, i.e. the elements surrounded by square brackets. This is not accepted by the server API, that is expecting a) a string with the elements joined by commas or b) multiple parameters with pairs of attribute + value. For consistency with the previous retrofit behaviour, we are updating the code to go with the second option.
So when passing as a parameter “filter” with value List(value1, value2). The request will contain: “&filter=value1&filter=falue2”
When migrating to retrofit to ktor, the list parameters passed to query builders were added with a list structure, i.e. the elements surrounded by square brackets. This is not accepted by the server API, that is expecting a) a string with the elements joined by commas or b) multiple parameters with pairs of attribute + value. For consistency with the previous retrofit behaviour, we are updating the code to go with the second option.
So when passing as a parameter “filter” with value List(value1, value2). The request will contain: “&filter=value1&filter=falue2”