Skip to content

Filter out synthetic traits before turning those into LoadOperations#1358

Merged
sugmanue merged 1 commit intosmithy-lang:mainfrom
sugmanue:does-not-reparses-synthetic-traits
Aug 18, 2022
Merged

Filter out synthetic traits before turning those into LoadOperations#1358
sugmanue merged 1 commit intosmithy-lang:mainfrom
sugmanue:does-not-reparses-synthetic-traits

Conversation

@sugmanue
Copy link
Copy Markdown
Contributor

Description of changes:

Synthetic traits should not be parsed again. That will cause a failure, for instance, if we import a 1.0 model that has @enum traits. If we try to reparse them this will fail with an error

Unable to resolve trait `smithy.synthetic#enum`

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

Synthetic traits should not be parsed again. That will cause a
failure, for instance, if we import a 1.0 model that has @enum
traits. If we try to reparse them this will fail with an error

Unable to resolve trait `smithy.synthetic#enum`
@sugmanue sugmanue requested a review from a team as a code owner August 18, 2022 03:54
@sugmanue sugmanue merged commit de20657 into smithy-lang:main Aug 18, 2022
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