-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
Option to preserve key order relying on toEncoding #28
Comments
This would definitely a plus. Right now there are many cases where we cannot use |
I'm interested by this issue. Unfortunately, |
IMO this is a pretty serious issue that conflicts with this library's core mission:
|
@informatikr @DougBurke Would you be open to a PR that fixes this behaviour? |
@theophile-scrive I've taken over maintainership for this package. I'd definitely be interested! |
@martijnbastiaan Very well. :) |
Right now the keys are always resorted when using
encodePretty
.However, sometimes it is desired to preserve the key order from
toEncoding
.See GetShopTV/swagger2#98 for a possible use case.
The text was updated successfully, but these errors were encountered: