-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Labels
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator (example)?
- Have you tested with the latest master to confirm the issue still exists?
- Have you searched for related issues/PRs?
- What's the actual output vs expected output?
Description
Updating to Alamofire 5.10.x causes multiple compilation issues around Sendable.
In particular, the following classes have issues:
| Class | Error |
|---|---|
| extension JSONDataEncoding | Conformance to 'Sendable' must occur in the same source file as struct 'JSONDataEncoding'; use '@unchecked Sendable' for retroactive conformance |
| AnyResponseSerializer | Type 'AnyResponseSerializer.SerializedObject' (aka 'T') does not conform to the 'Sendable' protocol |
openapi-generator version
7.10.0
Generation Details
This is one of the Infrastructure files generated along with any scheme.
Steps to reproduce
use the Swift 6 generator with the latest alamofire 5.10.x and observe that it does not compile due to a bunch of swift 6 errors
Reactions are currently unavailable