Added specs and support for either failing out the mapping operation or skipping over an attribute depending on key/value validation response. If NO is returned and a validation error is returned, the mapping operation will fail. If NO is returned without an error, the attribute will be skipped and a warning will be logged. You can also mutate the values. closes #166

This commit is contained in:
Blake Watters
2011-06-29 15:07:43 -04:00
parent 41071ad61a
commit 6faa525344
5 changed files with 83 additions and 21 deletions

View File

@@ -33,6 +33,7 @@
id<RKObjectMappingOperationDelegate> _delegate;
id<RKObjectFactory> _objectFactory;
NSDictionary* _nestedAttributeSubstitution;
NSError* _validationError;
}
/**