Closed aub closed 2 years ago
oh wow yes you're right! thank you!
should be fixed in serialize-query-params 2.0.1
Nice, thanks for the fix! I had been trying to figure out how to get this functionality myself and kept failing, so I'm really happy to see it supported directly.
In here the value passed to
urlName
for aQueryParamConfig
is limited to the types of things that can be decoded for the param, but I think it should be allowed to be any string. With the current typing, this is allowed:But this is not allowed:
Since we're just specifying what we want to call the param in the URL, shouldn't any string be allowed? I changed the line linked above to:
And everything now works as I expected.