decdk icon indicating copy to clipboard operation
decdk copied to clipboard

Lazy resources and references are not type checked

Open mrgrain opened this issue 2 years ago • 0 comments

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.

mrgrain avatar Oct 26 '22 15:10 mrgrain