class Object: Entity {
dynamic var array: Array<Any>?
}
Kinsey class
lazy var dataStore: DataStore<Object>! = {
return DataStore<Object>.collection(.sync)
}()
// Pull
dataStore.pull() { (objects, error) -> Void in
if let objects = objects {
//succeed
for object in objects {
// SHOWS object. array
}
} else {
//fail
}
}
// Find
dataStore.find() { (objects, error) -> Void in
if let objects = objects {
for object in objects {
// DOES NOT SHOW object.array, i.e. object.array is nil
}
}
else {
//fail
}
}
I'm guess PULL does not save arrays?
1 Comment
P
Pranav J
said
about 4 years ago
Brian,
This is a known issue and engineering is working on it. I will update you once I have more information from them.
Brian
Object Class
Kinsey class
I'm guess PULL does not save arrays?