We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
purescript-form-urlencoded
If so, we should probably be somewhat consistent with this format of a query:
newtype FormURLEncoded = FormURLEncoded (Array (Tuple String (Maybe String)))
I think that something like StrMap (Maybe String) should be ok because we can assume that any sane API won't rely on query key order ;-)
StrMap (Maybe String)
Also if we want to handle Arrays (like attr=v1&attr=v2&attr=v3) we probably should use StrMap (Array (Maybe String)).
Arrays
attr=v1&attr=v2&attr=v3
StrMap (Array (Maybe String))
The text was updated successfully, but these errors were encountered:
P.S. Maybe this part of this lib will end up as purescript-urlencoded-generic ;-)
purescript-urlencoded-generic
Sorry, something went wrong.
No branches or pull requests
If so, we should probably be somewhat consistent with this format of a query:
I think that something like
StrMap (Maybe String)
should be ok because we can assume that any sane API won't rely on query key order ;-)Also if we want to handle
Arrays
(likeattr=v1&attr=v2&attr=v3
) we probably should useStrMap (Array (Maybe String))
.The text was updated successfully, but these errors were encountered: