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
var type: [Int] = [4, 2]
$0.add(parameters: ["type": type ], arrayEncoding: .noBrackets)
it doesn't work
but when I wrote like this
$0.add(queryItems: type.map({ URLQueryItem(name: "type", value: "($0)")}))
it worked
Expected Behavior
$0.add(parameters: ["type": type ], arrayEncoding: .noBrackets)
with this following parameters I expect following request
.../api/app/v1/shop/list?type=2?type=4
this code should work as you said on documentations
Actual Incorrect Behavior
$0.add(parameters: ["type": type ], arrayEncoding: .noBrackets) this doesn't work
with this following parameters I got
.../api/app/v1/shop/list?type=2
it doesn't append second type of query parameter
The text was updated successfully, but these errors were encountered:
Platform Version
17.0
SDK Version
1.0.0
Xcode Version
15.0.1
Steps To Reproduce
var type: [Int] = [4, 2]
$0.add(parameters: ["type": type ], arrayEncoding: .noBrackets)
it doesn't work
but when I wrote like this
$0.add(queryItems: type.map({ URLQueryItem(name: "type", value: "($0)")}))
it worked
Expected Behavior
$0.add(parameters: ["type": type ], arrayEncoding: .noBrackets)
with this following parameters I expect following request
.../api/app/v1/shop/list?type=2?type=4
this code should work as you said on documentations
Actual Incorrect Behavior
$0.add(parameters: ["type": type ], arrayEncoding: .noBrackets) this doesn't work
with this following parameters I got
.../api/app/v1/shop/list?type=2
it doesn't append second type of query parameter
The text was updated successfully, but these errors were encountered: