Skip to content

Commit a377ab7

Browse files
committed
Relax RepositoryManagedModel.Unmanaged requirements to allow building with Swift 6
bugfix/unable-to-build-v2-with-swift-6
1 parent d4dc88e commit a377ab7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/CoreDataRepository/RepositoryManagedModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import CoreData
1010

1111
/// A protocol for a CoreData NSManagedObject sub class that has a corresponding value type
1212
public protocol RepositoryManagedModel: NSManagedObject {
13-
associatedtype Unmanaged: UnmanagedModel where Unmanaged.RepoManaged == Self
13+
associatedtype Unmanaged: UnmanagedModel
1414
/// Returns a value type instance of `self`
1515
var asUnmanaged: Unmanaged { get }
1616
/// Create `self` from a corresponding instance of `UnmanagedModel`. Should not save the context.

0 commit comments

Comments
 (0)