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

Validate passed in state data structure when creating components #24

Open
tomrdale opened this issue Mar 27, 2018 · 0 comments
Open

Validate passed in state data structure when creating components #24

tomrdale opened this issue Mar 27, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@tomrdale
Copy link
Contributor

When creating a new component to add to the state, either via createAndAddComponent or through children. The passed in state's data structure can be validated against the component you are creating model. This will ensure that the end user is following the rules of the model they specified, and that the passed in state is no more, and no less than the specified model.

@tomrdale tomrdale added the enhancement New feature or request label Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant