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
When using CollectionFormat.Csv for the CollectionFormat in RefitSettings strings get serialized as comma separated values (e.g. Test becomes T,e,s,t).
Describe the bug 🐞
When using
CollectionFormat.Csv
for theCollectionFormat
inRefitSettings
strings get serialized as comma separated values (e.g.Test
becomesT,e,s,t
).Step to reproduce
The below code demonstrates the issue:
Run the program and observe the output in the output window:
Foo=T%2Ce%2Cs%2Ct&Bar=1%2C2%2C3%2C4%2C5
Which, after url-decoding, is:
Foo=T,e,s,t&Bar=1,2,3,4,5
Expected behavior
Only collections should be CSV serialized, not strings as individual chars
IDE
Visual Studio 2022
Refit Version
7.0.0
The text was updated successfully, but these errors were encountered: