ljharb / qs

A querystring parser with nesting support
BSD 3-Clause "New" or "Revised" License
8.51k stars 729 forks source link

type argument missing in encoder #368

Closed gomcodoctor closed 4 years ago

gomcodoctor commented 4 years ago

type argument is not passed when invoking encoder

return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset) : prefix;

ljharb commented 4 years ago

What version of qs are you using? That functionality's been in since v6.9.1 https://github.com/ljharb/qs/commit/7f216eef99cb9eb0ebb3714411a044174c1448cd

gomcodoctor commented 4 years ago

thanks.. resolved.. i think same thing can be applied on formatter