tristanhimmelman / AlamofireObjectMapper

An Alamofire extension which converts JSON response data into swift objects using ObjectMapper
MIT License
2.66k stars 474 forks source link

Do not overwriting null (no exist) values #142

Closed eikebartels closed 8 years ago

eikebartels commented 8 years ago

The following scenario. (using Realm)

I'm parsing an object i.e.

{
 id=10
 name= "awesome"
 description = "awesome description"
}

at a later state I want to override the object with the following

{
 id=10
 name= "awesome 2"
}

I would like to keep the description value and only override name

What would be the solution to do this?

https://github.com/Hearst-DD/ObjectMapper/issues/555

A1iAshoor commented 8 years ago

+1

tristanhimmelman commented 8 years ago

Closing this as this was resolved in Hearst-DD/ObjectMapper#555