You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I think I found an issue in latest release, 0.23.3.
I create an object mapping and set assignsDefaultValueForMissingAttributes to NO, then I create the inverse mapping and the assignsDefaultValueForMissingAttributes value is overwritten to YES.
I tracked the issue down to the - (RKObjectMapping *)invertMapping:(RKObjectMapping *)mapping withPredicate:(BOOL (^)(RKPropertyMapping *propertyMapping))predicatemethod in the RKObjectMapping class , it contains the following lines:
// We want to serialize `nil` values
inverseMapping.assignsDefaultValueForMissingAttributes = YES;
The text was updated successfully, but these errors were encountered:
Hi there, I think I found an issue in latest release, 0.23.3.
I create an object mapping and set
assignsDefaultValueForMissingAttributes
toNO
, then I create the inverse mapping and the assignsDefaultValueForMissingAttributes value is overwritten toYES
.I tracked the issue down to the
- (RKObjectMapping *)invertMapping:(RKObjectMapping *)mapping withPredicate:(BOOL (^)(RKPropertyMapping *propertyMapping))predicate
method in theRKObjectMapping
class , it contains the following lines:The text was updated successfully, but these errors were encountered: