You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a map with {:a 1 :b 2} or equivalently {:b 2 :a 1} I don't think it's possible to write a single grape expression that matches both of those, even though it's probably relatively common. Is there a way to make a matcher that does order-independent matching, or at least have or-expressions so I could match both cases? The former would definitely be preferable, perhaps a special case for sets and maps?
This is an awesome utility, so thanks for your effort!
The text was updated successfully, but these errors were encountered:
If I have a map with
{:a 1 :b 2}
or equivalently{:b 2 :a 1}
I don't think it's possible to write a single grape expression that matches both of those, even though it's probably relatively common. Is there a way to make a matcher that does order-independent matching, or at least have or-expressions so I could match both cases? The former would definitely be preferable, perhaps a special case for sets and maps?This is an awesome utility, so thanks for your effort!
The text was updated successfully, but these errors were encountered: