Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DynamicStruct so that it allows a
sort
param.
`sort` params were broken due to the fact that we are using a Hashie::Mash as our DynamicStruct. Hash has a sort method, so it meant that a `sort` entry in the hash was not used for `mash.sort`. I don't remember the full history of why I switched to a Hashie::Mash in 8f6d2f4 but this is one downside: more collisions with method names. We may want to reconsider that decision at some point, but this solves the problem for now.
- Loading branch information
1 parent
7c616b0
commit a3af009
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters