decdk
decdk copied to clipboard
Collect multiple errors in processing
Currently the app immidiately stops when an error in processing (grammer parsing, type checking, CDK evaluation) occurs. This makes it very tedious to fix things.
We should try and continue processing as much as possible, while collecting all errors and printing them together.
Yaml Errors look like this and cannot be collected (unless we switch the library):
YAMLSemanticError: Implicit map keys need to be on a single line at line 10, column 5:
Type aws-cdk-lib.aws_cloudfront.OriginAccessIdentity
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…