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
Currently Utils.encode_query_string serializes an object into string using default order:
Utils.encode_query_string
Utils.encode_query_string({a: 2, c: 3, b: 1}) # a=2&c=3&b=1
But it would be nice to add the ability to sort query string ascending (maybe by default, like it was done in Httparty or ActiveSupport to_query).
Httparty
to_query
Personally for me it was important, when I coded gem using rest-client and there was a need to generate MD5 from query params sorted alphabetically.
rest-client
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently
Utils.encode_query_string
serializes an object into string using default order:But it would be nice to add the ability to sort query string ascending (maybe by default, like it was done in
Httparty
or ActiveSupportto_query
).Personally for me it was important, when I coded gem using
rest-client
and there was a need to generate MD5 from query params sorted alphabetically.The text was updated successfully, but these errors were encountered: