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
Cannot use map() with only-optional keys #40
Comments
|
I double-checked in
|
If I interpret the code correctly spec does the check in order, starting from the required keys and then using the optional ones... However in our case, there is a call to So I was thinking of avoid calling that if we don't have required keys. Hopefully @prayerslayer can confirm this is a good approach, all the tests pass smoothly, but I don't know what was the though behind that part. |
Also I was wondering why there is a |
I expect I could spec an object that has only optional keys. Here is a failing unit test:
The text was updated successfully, but these errors were encountered: