diff --git a/Sources/FluentKitExtras/SwiftCompatibility.swift b/Sources/FluentKitExtras/SwiftCompatibility.swift index eabfa97..891bc0b 100644 --- a/Sources/FluentKitExtras/SwiftCompatibility.swift +++ b/Sources/FluentKitExtras/SwiftCompatibility.swift @@ -1,9 +1,18 @@ import FluentKit #if compiler(>=6.2) -@_marker public protocol _SQLKitExtrasSendableMetatype: SendableMetatype {} +public typealias _SQLKitExtrasSendableMetatype = SendableMetatype #else -@_marker public protocol _SQLKitExtrasSendableMetatype {} +public typealias _SQLKitExtrasSendableMetatype = Any #endif -extension FluentKit.FieldProperty: _SQLKitExtrasSendableMetatype {} +extension FluentKit.BooleanProperty: _SQLKitExtrasSendableMetatype {} +extension FluentKit.OptionalBooleanProperty: _SQLKitExtrasSendableMetatype {} + +extension FlatGroupProperty: _SQLKitExtrasSendableMetatype {} +extension OptionalPointerProperty: _SQLKitExtrasSendableMetatype {} +extension OptionalReferenceProperty: _SQLKitExtrasSendableMetatype {} +extension PointerProperty: _SQLKitExtrasSendableMetatype {} +extension ReferencesProperty: _SQLKitExtrasSendableMetatype {} +extension RequiredTimestampProperty: _SQLKitExtrasSendableMetatype {} +