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

Don't raise validation erros from renaming #512

Merged

Conversation

JordonPhillips
Copy link
Contributor

None of the other transformers raise validation errors when
they produce a model in an invalid state, so the rename transformer
shouldn't either. With this change a tool could attempt to resolve
any issue before the model is actually used.

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

None of the other transformers raise validation errors when
they produce a model in an invalid state, so the rename transformer
shouldn't either. With this change a tool could attempt to resolve
any issue before the model is actually used.
This disables validation in the default model assembler for the
rename transformer.
@JordonPhillips JordonPhillips force-pushed the rename-without-validation branch from a2243c9 to 476b123 Compare July 29, 2020 17:01
@JordonPhillips JordonPhillips requested a review from mtdowling July 29, 2020 17:01
@JordonPhillips JordonPhillips merged commit a79b5be into smithy-lang:master Jul 29, 2020
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