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

Add nonStrict option #16

Open
bytesnz opened this issue Feb 9, 2016 · 0 comments
Open

Add nonStrict option #16

bytesnz opened this issue Feb 9, 2016 · 0 comments

Comments

@bytesnz
Copy link
Member

bytesnz commented Feb 9, 2016

Add the nonStrict option to schema so when variables aren't the right type, they will be cast to the right type.

If nonStrict is set on a required Object and an undefined value is given, it should return an empty Object.

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

1 participant