Bug Report Checklist
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
Bug Report Checklist
Description
Updating to Alamofire 5.10.x causes multiple compilation issues around Sendable.
In particular, the following classes have issues:
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