apple / apple/swift-openapi-generator
Pull in LockedValueBox and reduce the usage of unchecked Sendable
Open
area/runtime
kind/enhancement
size/S
- Dominant language
- Swift
- Stars
- 2k
- Forks
- 182
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 5
Description
### Description
Pull in LockedValueBox from SwiftNIO and reduce the usage of unchecked Sendable (today it's used in HTTPBody, MultipartBody, and ISO8601DateTranscoder).
### Additional information
_No response_
Contributor guide
Research direction
Search the repository for HTTPBody, MultipartBody, and ISO8601DateTranscoder, then inspect how each currently uses unchecked Sendable. Read SwiftNIO's LockedValueBox implementation and determine how it can replace those usages; done means the utility is included and the affected types no longer rely on unchecked Sendable where this change targets them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100