We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4dc88e commit a377ab7Copy full SHA for a377ab7
1 file changed
Sources/CoreDataRepository/RepositoryManagedModel.swift
@@ -10,7 +10,7 @@ import CoreData
10
11
/// A protocol for a CoreData NSManagedObject sub class that has a corresponding value type
12
public protocol RepositoryManagedModel: NSManagedObject {
13
- associatedtype Unmanaged: UnmanagedModel where Unmanaged.RepoManaged == Self
+ associatedtype Unmanaged: UnmanagedModel
14
/// Returns a value type instance of `self`
15
var asUnmanaged: Unmanaged { get }
16
/// Create `self` from a corresponding instance of `UnmanagedModel`. Should not save the context.
0 commit comments