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: Make Context thread-safe #1819

Merged
merged 3 commits into from
Nov 13, 2024
Merged

fix: Make Context thread-safe #1819

merged 3 commits into from
Nov 13, 2024

Conversation

jbelkins
Copy link
Contributor

@jbelkins jbelkins commented Nov 13, 2024

Description of changes

smithy-lang/smithy-swift#853 changes the Context type to make it thread-safe.

This PR gets/sets Context attributes by accessing the Context directly (which now has thread-safe accessors) rather than by accessing the Context's attributes property (which has now been made private).

New/existing dependencies impact assessment, if applicable

No new dependencies were added to this change.

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

@jbelkins jbelkins marked this pull request as ready for review November 13, 2024 02:47
@jbelkins jbelkins merged commit 41a69aa into main Nov 13, 2024
29 checks passed
@jbelkins jbelkins deleted the jbe/threadsafe_context branch November 13, 2024 17:55
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