gonzalezreal / Groot

From JSON to Core Data and back.
Other
534 stars 61 forks source link

GRTUniquingSerializationStrategy: attribute with null value replaces original value #87

Closed ValentinStrazdin closed 7 years ago

ValentinStrazdin commented 7 years ago

I have NSManagedObject with identity attribute. This object has several nullable properties. I set values for these properties and save NSManagedObjectContext. When I get JSON from server containing list of objects I want to merge these changes with my existing objects. Although corresponding attributes are null my saved properties are replaced with these nulls.