Replies: 1 comment
-
hey @ytyubox! Thanks for the feedback!
My apologies! On second thought, I'm not so certain this is such a good idea. We'd support you if you wanted to write a custom matcher that uses NSDictionary under the hood to do this, but I'm not so certain this is a great idea as a general matcher. Generally, your API shouldn't be returning or handling values of type [String: Any]. I'm open to discussion if you have additional reasons for doing this, but for now, I don't think Nimble should expose |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For me, I have trouble asserting equal to [String: Any],
So I use a wrapper to use NSDictionary to do that, I hope that the
internal func equal(_:by:) -> Predicate<T>
is not internal, so that I don't have to copy past the code as an extension of my app.Beta Was this translation helpful? Give feedback.
All reactions