Skip to content
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

strict mode? #27

Closed
robinpatricksmith opened this issue Mar 22, 2016 · 7 comments
Closed

strict mode? #27

robinpatricksmith opened this issue Mar 22, 2016 · 7 comments

Comments

@robinpatricksmith
Copy link

Keys that do not fit the schema are ignored - so I could have a typo in an optional key and never know about it. It would be nice to have a strict mode where you get a warning that keys were found that are not in the schema.

@adrianmo
Copy link

adrianmo commented May 3, 2017

+1 for this feature. I also would like Yamale to check keys that are not in the schema.

Thanks for the library anyway!

@ericholscher
Copy link

+1. This is a primary thing I'd like to have :)

@adamf
Copy link

adamf commented Mar 23, 2019

+1 this would be great!

@milos-korenciak
Copy link

+1

@alertedsnake
Copy link

Is there any interest in doing work on this? I started taking a crack at it and then realized that it probably means restructuring the whole library.

Just looking to gauge interest from the development team - if it's not a planned feature, I'll be happy to just use a different library.

@mildebrandt
Copy link

Hi @alertedsnake, thanks for your interest. A little while ago, @drmull mentioned in #60 that they had started working on a PR that would address this. Once that is up for review, I'll be looking at that and #60 to put in together.

@mildebrandt
Copy link

This is available in version 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants