We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SQLiteVersion
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
To add support for Swift 6 concurrency model in the SQLite.swift package, the SQLiteVersion struct must be made sendable.
SQLite.swift
The static variable SQLiteVersion.zero must be changed to a immutable let variable:
SQLiteVersion.zero
- static var zero: SQLiteVersion = .init(major: 0, minor: 0) + static let zero: SQLiteVersion = .init(major: 0, minor: 0)
This will be a breaking change for clients who change the value of SQLiteVersion.zero.point as the point field is defined as public var:
SQLiteVersion.zero.point
point
public var
public struct SQLiteVersion: Comparable, CustomStringConvertible { public let major: Int public let minor: Int public var point: Int = 0 }
I think it is not desired to change the value of the SQLiteVersion.zero and it can be safely changed to let.
let
The text was updated successfully, but these errors were encountered:
I can make the PR for this change.
Sorry, something went wrong.
Make SQLiteVersion struct sendable stephencelis#1308
5454589
Successfully merging a pull request may close this issue.
To add support for Swift 6 concurrency model in the
SQLite.swift
package, theSQLiteVersion
struct must be made sendable.The static variable
SQLiteVersion.zero
must be changed to a immutable let variable:This will be a breaking change for clients who change the value of
SQLiteVersion.zero.point
as thepoint
field is defined aspublic var
:I think it is not desired to change the value of the
SQLiteVersion.zero
and it can be safely changed tolet
.The text was updated successfully, but these errors were encountered: