PartialIdentifiableKeyPath
public struct PartialIdentifiableKeyPath<Root>
A KeyPath wrapper allowing only Identifiable/Aggregate keypaths
-
Creates an instance referencing an
IdentifiablekeyPathDeclaration
Swift
public init<T>(_ keyPath: WritableKeyPath<Root, T>) where T : Identifiable -
Creates an instance referencing an optional
IdentifiablekeyPathDeclaration
Swift
public init<T>(_ keyPath: WritableKeyPath<Root, T?>) where T : Identifiable -
Declaration
Swift
public init<T>(_ keyPath: WritableKeyPath<Root, T?>) where T : Aggregate -
Declaration
Swift
public init<C>(_ keyPath: WritableKeyPath<Root, C>) where C : MutableCollection, C.Element : Identifiable, C.Index : Hashable -
Declaration
Swift
public init<C>(_ keyPath: WritableKeyPath<Root, C?>) where C : MutableCollection, C.Element : Identifiable, C.Index : Hashable -
Declaration
Swift
public init<C>(_ keyPath: WritableKeyPath<Root, C>) where C : MutableCollection, C.Element : Aggregate, C.Index : Hashable -
Declaration
Swift
public init<C>(_ keyPath: WritableKeyPath<Root, C?>) where C : MutableCollection, C.Element : Aggregate, C.Index : Hashable -
Declaration
Swift
public init<W>(wrapper keyPath: WritableKeyPath<Root, W>) where W : EntityWrapper -
Declaration
Swift
public init<W>(wrapper keyPath: WritableKeyPath<Root, W?>) where W : EntityWrapper