Skip to content

Add exceptions for invalid paths in template definition#1907

Merged
hpmellema merged 2 commits intosmithy-lang:mainfrom
hpmellema:throw-error-on-bad-template-paths
Aug 3, 2023
Merged

Add exceptions for invalid paths in template definition#1907
hpmellema merged 2 commits intosmithy-lang:mainfrom
hpmellema:throw-error-on-bad-template-paths

Conversation

@hpmellema
Copy link
Copy Markdown
Contributor

@hpmellema hpmellema commented Aug 3, 2023

Description of changes:
Throws an error if the include files or the root template path specified in the smithy-templates.json are invalid.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hpmellema hpmellema marked this pull request as ready for review August 3, 2023 15:37
@hpmellema hpmellema requested a review from a team as a code owner August 3, 2023 15:37
@hpmellema hpmellema merged commit 7b472ab into smithy-lang:main Aug 3, 2023
@hpmellema hpmellema deleted the throw-error-on-bad-template-paths branch August 3, 2023 16:08
syall pushed a commit to Xtansia/smithy that referenced this pull request Aug 11, 2023
…1907)

Add exceptions for invalid paths in template definition. Errors are thrown for both invalid included file paths and for invalid root template paths.
alextwoods pushed a commit to alextwoods/smithy that referenced this pull request Sep 15, 2023
…1907)

Add exceptions for invalid paths in template definition. Errors are thrown for both invalid included file paths and for invalid root template paths.
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

Successfully merging this pull request may close these issues.

2 participants