Closed salu133445 closed 4 years ago
That make sense. Can you please update the README with the new functionality?
And add some additional tests
Hi, I have updated the README and add some tests. Thanks for reviewing.
Looks good, thanks for the PR and thanks for using Yamale!
Hi, this makes
any()
(without any arguments passed) to accept anything. This actually has the same effect by simply removing the key from the schema file. However, in my use case, I would like the users to seekey: any()
and knows that this key is optional rather than unavailable. Also, things get a bit different in strict mode, which would be helpful when one wants some key to present but does not care about its type. Thanks for reviewing!