Sendable compliance for code generated types
abidon opened this issue · comments
Making code generated types Sendable
(when possible) would be nice in anticipation of Swift 6.
There's also those warnings about registeredIdentifier
not being concurrency-safe. Is there any particular reason why this property is not a let
constant ?
public struct Module: PklRegisteredType, Decodable, Hashable {
- public static var registeredIdentifier: String = "Foo"
+ public static let registeredIdentifier: String = "Foo"
// ...
}