Closed xamgore closed 1 year ago
Hi @xamgore The parsing method in 0.0.x releases had some inconsistencies as I was trying to support as many kinds of querystrings as possible, I'm glad it is fixed in the latest beta with separate scopes for different kinds of qs. I'm planning to release a 0.1 soon with some more docs and a little improvement to error handling/reporting.
Hi, thanks for the package! 👍
deal_type[]=str&first=2&a=1
// okfirst=2&a=1&deal_type[]=str
// missing fielddeal_type
After further investigation, it seems like
a=1
parameter drops the followingdeal_type[]=str
out of the list. If you put it dn the first placea=1&first=2&deal_type[]=str
,first
will be lost.With
serde_querystring::de::ParseMode::Brackets
on the latest beta everything is parsed correctly.