My application requires me to handle query parameters somewhat generically (in particular, to handle query parameters with variable names). The exposed interface of Url.Parser doesn't support that.
I'd be happy to reimplement this myself, but for the fact that it calls out to kernel code for percent-decoding, which I'm not permitted to do myself, and I'd be loathe to implement differently from core Elm.
Thus, please consider exposing a way to get at a full query parameter dictionary without jumping through hoops.
My application requires me to handle query parameters somewhat generically (in particular, to handle query parameters with variable names). The exposed interface of Url.Parser doesn't support that.
Url.Parser internally uses:
for the low-level query parameter parsing.
I'd be happy to reimplement this myself, but for the fact that it calls out to kernel code for percent-decoding, which I'm not permitted to do myself, and I'd be loathe to implement differently from core Elm.
Thus, please consider exposing a way to get at a full query parameter dictionary without jumping through hoops.