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

token-client: Make Token properly Send + Sync #6523

Closed
wants to merge 1 commit into from

Conversation

joncinque
Copy link
Contributor

Problem

It's not possible to use token-client's Token in a detached async context because not all the types contained are Send + Sync. See #6510 for more info.

Solution

Add Send + Sync to all types contained within Token and all type parameters. This is a pretty invasive change and breaks current CLI users, but we can consider doing this in a breaking release.

Fixes #6478

cc @1500256797

@github-actions github-actions bot added the stale [bot only] Added to stale content; will be closed soon label Apr 26, 2024
@github-actions github-actions bot closed this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale [bot only] Added to stale content; will be closed soon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Token type is !Send + !Sync
1 participant