netreconlab / Parse-Swift

The original (OG) Swift SDK for Parse Platform (iOS, macOS, watchOS, tvOS, visionOS, Linux, Android, Windows). This repo is maintained by Parse-Swift's original developer and all new features and bug fixes will occur here.
https://swiftpackageindex.com/netreconlab/Parse-Swift/documentation
Apache License 2.0
59 stars 6 forks source link

Make ParseObject Sendable #155

Closed Dan1973KS closed 2 months ago

Dan1973KS commented 7 months ago

New Feature / Enhancement Checklist

Current Limitation

Since Xcode 15 with Build Setting Strict Concurrency Checking set to Targeted, the compiler warns that ParseObject is not conform to Sendable. So it cannot leave its actor boundaries. Trying to make ParseObject conform to Sendable fails because it contains the ParseACL type which is not conform as well.

Feature / Enhancement Description

Please make ParseObject also conform to Sendable. ### Example Use Case

Alternatives / Workarounds

Ignoring the warnings. At some case it is possible to annotate import ParseSwift with @preconcurrency. ### 3rd Party References
cbaker6 commented 7 months ago

See https://github.com/netreconlab/Parse-Swift/discussions/119#discussioncomment-6191852

Dan1973KS commented 7 months ago

See https://github.com/netreconlab/Parse-Swift/discussions/119#discussioncomment-6191852

Thanks. And sorry for re-issueing...