Open amgadserry opened 6 years ago
open func toDictionary(_ conversionOptions: ConversionOptions = .DefaultSerialize) -> NSDictionary {
let keys = Array(self.entity.attributesByName.keys)
return self.dictionaryWithValues(forKeys: keys) as NSDictionary
}
as I see here conversionOptions are ignored and the dictionaryWithValues used anyways @evermeer is that the intended behavior if not i could look into fixing it and make a PR
Ah, you are right, this is something I did not implement for CoreData. It would be awesome If you could make a pull request for this.
self.toDictionary doesn't cause property mapping to be called