mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-14 21:03:51 +01:00
Field.Relationship propertyWrapper
This commit is contained in:
1 parent
bcc2d9def3
commit
92ad895044
12 files changed
+881
-304
No files matched your search
@@ -173,6 +173,9 @@ extension CoreStoreObject {
|
||||
case let property as FieldAttributeProtocol:
|
||||
attributes[property.keyPath] = type(of: property).read(field: property, for: object.rawObject!)
|
||||
|
||||
case let property as FieldRelationshipProtocol:
|
||||
attributes[property.keyPath] = type(of: property).valueForSnapshot(field: property, for: object.rawObject!)
|
||||
|
||||
case let property as AttributeProtocol:
|
||||
attributes[property.keyPath] = property.valueForSnapshot
|
||||
|
||||
|
||||
Reference in new issue
Block a user