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

Conform models to Sendable #1768

Closed
2 tasks
jbelkins opened this issue Sep 20, 2024 · 0 comments
Closed
2 tasks

Conform models to Sendable #1768

jbelkins opened this issue Sep 20, 2024 · 0 comments
Assignees
Labels
feature-request A feature should be added or improved.

Comments

@jbelkins
Copy link
Contributor

jbelkins commented Sep 20, 2024

Describe the feature

Conform the model property types ByteStream and Document and the property wrapper @Indirect to Sendable.
Then conform all generated models (structs, unions, enums, intEnums) to Sendable.

No substantial change to these types should be needed to conform, except the @Indirect property wrapper which will require internal locking.

Use Case

This will aid customers in writing safe concurrent code in Swift 6 language mode.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change
@jbelkins jbelkins added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Sep 20, 2024
@jbelkins jbelkins self-assigned this Sep 20, 2024
@jbelkins jbelkins removed the needs-triage This issue or PR still needs to be triaged. label Sep 20, 2024
@jbelkins jbelkins changed the title Conform model properties to Sendable Conform models to Sendable Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

1 participant