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 check option to model #187

Open
albop opened this issue Mar 3, 2020 · 2 comments
Open

Add check option to model #187

albop opened this issue Mar 3, 2020 · 2 comments

Comments

@albop
Copy link
Member

albop commented Mar 3, 2020

No description provided.

@albop
Copy link
Member Author

albop commented Mar 3, 2020

Currently, errors in the model file are not raised immediately, but only when properties are accessed. A way to check the model is to use the lint function but it is independent and possibly not up to date.
The proposal here is to add a check option to the Model constructor so that it tries to access all properties immediately and raise a syntax error if needed.

@albop
Copy link
Member Author

albop commented Mar 3, 2020

@sbenthall: this is related to #180

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