Skip to content

Commit

Permalink
Adding some more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Conrad Stoll committed Jun 26, 2014
1 parent ec416b6 commit f5942cf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/MMRecord/MMRecordMarshaler.m
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ + (void)mergeDuplicateRecordResponseObjectDictionary:(NSDictionary *)dictionary
protoRecord.dictionary = dictionary;
}
}

if ([dictionary.allKeys count] != [protoRecord.dictionary.allKeys count]) {

}
}


Expand Down
6 changes: 6 additions & 0 deletions Source/MMRecord/MMRecordProtoRecord.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
each unique record in the response object. The proto record is not responsible for that, but it is
an important consideration for a user of this class to consider. This class is responsible for
populating records with their given dictionary, as well as establishing relationships to it's record.
Note: when the value representing a relationship is a single string or number that MMRecord will
convert that string or number into a dictionary with that value, and they primary key identified
for that targetted relationship's entity. That means that the representation of a proto record
will always be in the form of a dictionary, even if the response object form is a string or a
number.
*/

@interface MMRecordProtoRecord : NSObject
Expand Down

0 comments on commit f5942cf

Please sign in to comment.