Skip to content

Add missing sourceLocation setting in fromNode() in trait codegen#2730

Merged
joewyz merged 2 commits intomainfrom
joewyz/fix-trait-codegen-missing-sourcelocation
Aug 5, 2025
Merged

Add missing sourceLocation setting in fromNode() in trait codegen#2730
joewyz merged 2 commits intomainfrom
joewyz/fix-trait-codegen-missing-sourcelocation

Conversation

@joewyz
Copy link
Contributor

@joewyz joewyz commented Aug 5, 2025

Background

Current trait codegen missed the sourceLocation setting in fromNode() for list, map and structure traits. This PR will fix #2719


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

@joewyz joewyz requested a review from a team as a code owner August 5, 2025 18:30
@joewyz joewyz requested a review from yasmewad August 5, 2025 18:30
@joewyz joewyz merged commit 3803222 into main Aug 5, 2025
9 checks passed
@joewyz joewyz deleted the joewyz/fix-trait-codegen-missing-sourcelocation branch August 5, 2025 19:42
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.

smithy-trait-codegen generated traits don't store their SourceLocation

2 participants