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

Fix deterministic order of properties #1555

Merged
merged 2 commits into from
Jan 9, 2023

Conversation

rcoh
Copy link
Contributor

@rcoh rcoh commented Dec 21, 2022

Issue #, if available: smithy-lang/smithy-rs#2119

Description of changes: Fix a few HashMaps that should be LinkedHashMaps—this caused visitors to iterate over properties in an inconsistent order. A test has been added that previously failed because property order was not preserved.

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

@rcoh rcoh requested a review from a team as a code owner December 21, 2022 19:15
@kstich kstich merged commit 78ab8dc into smithy-lang:main Jan 9, 2023
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.

3 participants