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

Warnings for non-native properties #34

Closed
ksafranski opened this issue Mar 16, 2016 · 1 comment
Closed

Warnings for non-native properties #34

ksafranski opened this issue Mar 16, 2016 · 1 comment

Comments

@ksafranski
Copy link
Contributor

Currently there's no way to tell if an invalid property is supplied, so for instance; if you misspelled modifer: 'someVal' there's no indicator that the property won't be acted upon. Since we want to allow custom properties my suggestion is to "throw" a warning if the key in a definition is not recognized, then create a obey.customProps(<array|string>) that allows for centrally declaring custom props to prevent the warning.

@ksafranski ksafranski changed the title Warnings for non-reigstered properties Warnings for non-native properties Mar 17, 2016
@ksafranski
Copy link
Contributor Author

Closing this as we want to leave the opts open for custom props in schema defs without dev's needing to jump through hoops

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

No branches or pull requests

1 participant