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

chore: silence shared warning for strict concurrency #129

Merged
merged 9 commits into from
Apr 16, 2024

Conversation

marandaneto
Copy link
Member

@marandaneto marandaneto commented Apr 15, 2024

💡 Motivation and Context

Closes #127
Draft PR trying to silence all warnings for the SDK as well #128
That will likely require a iOS SDK v4 with major changes, but not worth for now until we are able to drop older iOS/Swift versions support and start using async/await, all sendable, etc.
nonisolated(unsafe) would be better as well instead of the whole class but that requires Swift >= 5.10 sadly.
Edit: nonisolated(unsafe) is possible using a compile directive and checking the Swift version

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

@marandaneto marandaneto requested a review from a team April 15, 2024 14:29
Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@marandaneto marandaneto merged commit b5a458d into main Apr 16, 2024
7 checks passed
@marandaneto marandaneto deleted the chore/silence-shared-concurrency branch April 16, 2024 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Swift 6 Compatibility and class property warning
2 participants