Skip to content

Commit eaff665

Browse files
committed
Bump CoreModel to 2.7.2 and fix remaining AttributeCodable gap
2.7.2 includes the Optional-relationship/attribute macro fix needed for ParkingReservation.deviceID and ShowerReservation.user. Also adds the AttributeCodable conformance missing on Device.ID.
1 parent 9375871 commit eaff665

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎Package.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ let package = Package(
3434
dependencies: [
3535
.package(
3636
url: "https://github.com/PureSwift/CoreModel",
37-
from: "2.7.1"
37+
from: "2.7.2"
3838
),
3939
sqliteDependency
4040
],

‎Tests/CoreModelSQLiteTests/ProfessionalDriver/Model/Device.swift‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77

88
import Foundation
9+
import CoreModel
910

1011
#if canImport(UIKit)
1112
import UIKit
@@ -84,6 +85,10 @@ extension Device.ID: ExpressibleByStringLiteral {
8485
}
8586
}
8687

88+
// MARK: - AttributeCodable
89+
90+
extension Device.ID: AttributeCodable {}
91+
8792
// MARK: - CustomStringConvertible
8893

8994
extension Device.ID: CustomStringConvertible, CustomDebugStringConvertible {

0 commit comments

Comments
 (0)