fix list parameters in request builder

Description

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”

Environment

Issue observed in develop branch

Activity

Show:
Done

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Sentry

Created October 22, 2024 at 6:59 AM
Updated October 25, 2024 at 10:24 AM
Resolved October 25, 2024 at 10:24 AM