Is there a way to make component resources more user-friendly by displaying a clear error message when an argument is missing or invalid rather than a stack trace?
b
broad-gold-44713
10/13/2021, 2:28 PM
I rely on the type checker for this.
l
little-cartoon-10569
10/13/2021, 8:46 PM
This sounds like a not-Pulumi problem. Your language's normal features should handle this. For example, an AOP library would do this without effort.
I have my unit checks run from .git/hooks/pre-commit, which catches all this sort of thing.