ljharb / qs

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

新增keySort配置 #435

Closed ywzou closed 2 years ago

ywzou commented 2 years ago

对最终的key进行排序

ljharb commented 2 years ago

Can you elaborate on the use case? Key ordering in a query string is pretty critical, and keys can’t just be trivially re-ordered.

ckcr4lyf commented 2 years ago

Additionally, the keys are sorted prior to the mapping as well, so I would think this isn't necessary?

ljharb commented 2 years ago

Closing, pending more context from the OP.