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

Lazy resources and references are not type checked #413

Open
mrgrain opened this issue Oct 26, 2022 · 0 comments
Open

Lazy resources and references are not type checked #413

mrgrain opened this issue Oct 26, 2022 · 0 comments
Labels
bug Something isn't working error-handling

Comments

@mrgrain
Copy link
Contributor

mrgrain commented Oct 26, 2022

We are currently not type-checking references and other lazy resources. E.g. take any template were the user accidentially passes the wrong Ref name. The app will attempt to evaluate the code and likely fail due to the object not being of the right shape.

We should add some lazy type checking to these objects, so that a clear TypeError is thrown instead of the underlying JS error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working error-handling
Projects
None yet
Development

No branches or pull requests

1 participant