Implement skips for stringify array format comma #304
Conversation
| @@ -132,7 +132,7 @@ test('array stringify representation with array commas and null value', t => { | |||
| bar: [null] | |||
| }, { | |||
| arrayFormat: 'comma' | |||
| }), 'foo=a'); | |||
| }), 'bar=&foo=,a,,'); | |||
sindresorhus
Jan 17, 2021
Owner
Can you add a test like this where the skipnull and skipemptystring options are set?
Can you add a test like this where the skipnull and skipemptystring options are set?
sindresorhus
Jan 17, 2021
Owner
You also need to add some more tests to ensure the parse function can correctly handle this.
You also need to add some more tests to ensure the parse function can correctly handle this.
decimoseptimo
Jan 22, 2021
Author
Suggested change
}), 'bar=&foo=,a,,');
fg
}), 'bar=&foo=,a,,');
fdfgfdg
Can you add a test like this where the skipnull and skipemptystring options are set?
one test where both are involved, sure.
You also need to add some more tests to ensure the parse function can correctly handle this.
This fixes stringify(), are you trying to say me to fix its counter-part in parse()?
| }), 'bar=&foo=,a,,'); | |
| fg | |
| }), 'bar=&foo=,a,,'); | |
| fdfgfdg |
Can you add a test like this where the skipnull and skipemptystring options are set?
one test where both are involved, sure.
You also need to add some more tests to ensure the parse function can correctly handle this.
This fixes stringify(), are you trying to say me to fix its counter-part in parse()?

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Fixes #302