Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in supporting primary key at non-root keypath in response dictionary #9

Merged
merged 1 commit into from
May 3, 2013

Conversation

johntmcintosh
Copy link
Contributor

Conrad,

After debugging what we discussed yesterday a bit, I think I found the last root of the issue (after fixing the setup problems on my end :). In MMRecordRepresentation when it looks for the primary key of the response, it's using valueForKey: rather than valueForKeyPath: so our response wasn't getting mapped correctly to the existing record. In the testing I've done so far, the content of this PR seems to be enough to get us up and running.

Your thoughts?

john

@cnstoll
Copy link
Contributor

cnstoll commented May 3, 2013

Awesome catch. Thanks!!!

cnstoll added a commit that referenced this pull request May 3, 2013
Bug in supporting primary key at non-root keypath in response dictionary
@cnstoll cnstoll merged commit cb6e098 into mutualmobile:master May 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants