object-to-formdata icon indicating copy to clipboard operation
object-to-formdata copied to clipboard

Adding noAttributesWithArrayNotation option

Open nkwwk opened this issue 3 years ago • 2 comments

nkwwk avatar Jan 14 '22 06:01 nkwwk

Can you expand on when this is needed? I seems like arrays are being flattened here, more or less.

therealparmesh avatar Feb 12 '22 15:02 therealparmesh

Currently, the plugin seems only available file array to remove the array notation instead of attributes. If we send the file with noFilesWithArrayNotation also an array of attributes, there isn't consistency.

nkwwk avatar Feb 12 '22 17:02 nkwwk

I’ll take a look at this. Thanks!

therealparmesh avatar Dec 28 '22 13:12 therealparmesh

@therealparmesh Can we get another look at this PR? This is a blocker for our use case and if it isn't resolved we'll be using another package. Just wanted to chime in since we do love the work here, but this is an edge case we need resolved to keep using it 😄

HartiganHM avatar May 10 '23 22:05 HartiganHM

This fell off of my radar. Code looks great and there's test coverage, so let's see if I can bring this in very soon.

therealparmesh avatar May 12 '23 13:05 therealparmesh

Published! Thank you!

therealparmesh avatar May 12 '23 14:05 therealparmesh