Open reslear opened 4 weeks ago
i was also wondering about this, good idea i think
codemods currently have to migrate by repeating a set of default options to be "qs-like"
i'd be open to contributions for this. im not sure if it should be preset
though, maybe compat: 'qs'
or something. as i don't want to end up with us having to maintain a list of presets
maybe initialise defaults options like presets:
for example default keep same now:
or with preset:
https://github.com/ljharb/qs/blob/60b62546ad05d436b64b2e0feafc7a5cf4727aee/lib/stringify.js#L30
roughly similar merge with default:
I think it has increased users, like for me strapi users who have to use qs but don't want to.