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
Suggested test case (i did it in jest/jasmine format):
it('Should put comma when arrayFormat is comma',()=>{expect(qs.stringify({list: ['foo,bar','hello','world']},{arrayFormat: 'comma'})).toBe('list=foo%2Cbar,hello,world');});
The text was updated successfully, but these errors were encountered:
The solution would be to apply the encoder to each value of the array before joining them with a comma. I haven't found an easy way to do that without making major changes to the stringify function.
I see some issues with
arrayFormat: 'comma'
:What happens today:
returns:
instead of:
Suggested test case (i did it in jest/jasmine format):
The text was updated successfully, but these errors were encountered: