{"action":"created","comment":{"url":"https://api.github.com/repos/RestKit/RestKit/pulls/comments/23554918","id":23554918,"diff_hunk":"@@ -293,7 +293,7 @@ - (NSString *)description\n \n - (id)mappingForSourceKeyPath:(NSString *)sourceKeyPath\n {\n-    return _propertiesBySourceKeyPath[sourceKeyPath];\n+    return _propertiesBySourceKeyPath[sourceKeyPath ? sourceKeyPath : [NSNull null]];","path":"Code/ObjectMapping/RKObjectMapping.m","position":14,"original_position":14,"commit_id":"ce2fa79c04fa64807cef537a8d7dc044f0254d15","original_commit_id":"ce2fa79c04fa64807cef537a8d7dc044f0254d15","user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"body":"`sourceKeyPath ?: [NSNull null]`","created_at":"2015-01-26T19:01:10Z","updated_at":"2015-01-26T19:01:10Z","html_url":"https://github.com/RestKit/RestKit/pull/2147#discussion_r23554918","pull_request_url":"https://api.github.com/repos/RestKit/RestKit/pulls/2147","_links":{"self":{"href":"https://api.github.com/repos/RestKit/RestKit/pulls/comments/23554918"},"html":{"href":"https://github.com/RestKit/RestKit/pull/2147#discussion_r23554918"},"pull_request":{"href":"https://api.github.com/repos/RestKit/RestKit/pulls/2147"}}},"pull_request":{"url":"https://api.github.com/repos/RestKit/RestKit/pulls/2147","id":28020117,"html_url":"https://github.com/RestKit/RestKit/pull/2147","diff_url":"https://github.com/RestKit/RestKit/pull/2147.diff","patch_url":"https://github.com/RestKit/RestKit/pull/2147.patch","issue_url":"https://api.github.com/repos/RestKit/RestKit/issues/2147","number":2147,"state":"open","locked":false,"title":"fixes regression caused by [21db7ec] - Cache the propertyMappings in dictionary form by both the destination","user":{"login":"valeriomazzeo","id":1882080,"avatar_url":"https://avatars.githubusercontent.com/u/1882080?v=3","gravatar_id":"","url":"https://api.github.com/users/valeriomazzeo","html_url":"https://github.com/valeriomazzeo","followers_url":"https://api.github.com/users/valeriomazzeo/followers","following_url":"https://api.github.com/users/valeriomazzeo/following{/other_user}","gists_url":"https://api.github.com/users/valeriomazzeo/gists{/gist_id}","starred_url":"https://api.github.com/users/valeriomazzeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeriomazzeo/subscriptions","organizations_url":"https://api.github.com/users/valeriomazzeo/orgs","repos_url":"https://api.github.com/users/valeriomazzeo/repos","events_url":"https://api.github.com/users/valeriomazzeo/events{/privacy}","received_events_url":"https://api.github.com/users/valeriomazzeo/received_events","type":"User","site_admin":false},"body":"With this patch also mapping with `nil` sourceKeyPath can be cached properly in order to be compared and retrieved.","created_at":"2015-01-26T11:23:50Z","updated_at":"2015-01-26T19:01:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d02fdabaf993c479377be045d2cfc53c70c91306","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RestKit/RestKit/pulls/2147/commits","review_comments_url":"https://api.github.com/repos/RestKit/RestKit/pulls/2147/comments","review_comment_url":"https://api.github.com/repos/RestKit/RestKit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/RestKit/RestKit/issues/2147/comments","statuses_url":"https://api.github.com/repos/RestKit/RestKit/statuses/ce2fa79c04fa64807cef537a8d7dc044f0254d15","head":{"label":"valeriomazzeo:fix-mapping-from-nil-sourceKeyPath","ref":"fix-mapping-from-nil-sourceKeyPath","sha":"ce2fa79c04fa64807cef537a8d7dc044f0254d15","user":{"login":"valeriomazzeo","id":1882080,"avatar_url":"https://avatars.githubusercontent.com/u/1882080?v=3","gravatar_id":"","url":"https://api.github.com/users/valeriomazzeo","html_url":"https://github.com/valeriomazzeo","followers_url":"https://api.github.com/users/valeriomazzeo/followers","following_url":"https://api.github.com/users/valeriomazzeo/following{/other_user}","gists_url":"https://api.github.com/users/valeriomazzeo/gists{/gist_id}","starred_url":"https://api.github.com/users/valeriomazzeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeriomazzeo/subscriptions","organizations_url":"https://api.github.com/users/valeriomazzeo/orgs","repos_url":"https://api.github.com/users/valeriomazzeo/repos","events_url":"https://api.github.com/users/valeriomazzeo/events{/privacy}","received_events_url":"https://api.github.com/users/valeriomazzeo/received_events","type":"User","site_admin":false},"repo":{"id":22687275,"name":"RestKit","full_name":"valeriomazzeo/RestKit","owner":{"login":"valeriomazzeo","id":1882080,"avatar_url":"https://avatars.githubusercontent.com/u/1882080?v=3","gravatar_id":"","url":"https://api.github.com/users/valeriomazzeo","html_url":"https://github.com/valeriomazzeo","followers_url":"https://api.github.com/users/valeriomazzeo/followers","following_url":"https://api.github.com/users/valeriomazzeo/following{/other_user}","gists_url":"https://api.github.com/users/valeriomazzeo/gists{/gist_id}","starred_url":"https://api.github.com/users/valeriomazzeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeriomazzeo/subscriptions","organizations_url":"https://api.github.com/users/valeriomazzeo/orgs","repos_url":"https://api.github.com/users/valeriomazzeo/repos","events_url":"https://api.github.com/users/valeriomazzeo/events{/privacy}","received_events_url":"https://api.github.com/users/valeriomazzeo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/valeriomazzeo/RestKit","description":"RestKit is a framework for consuming and modeling RESTful web resources on iOS and OS X","fork":true,"url":"https://api.github.com/repos/valeriomazzeo/RestKit","forks_url":"https://api.github.com/repos/valeriomazzeo/RestKit/forks","keys_url":"https://api.github.com/repos/valeriomazzeo/RestKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valeriomazzeo/RestKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valeriomazzeo/RestKit/teams","hooks_url":"https://api.github.com/repos/valeriomazzeo/RestKit/hooks","issue_events_url":"https://api.github.com/repos/valeriomazzeo/RestKit/issues/events{/number}","events_url":"https://api.github.com/repos/valeriomazzeo/RestKit/events","assignees_url":"https://api.github.com/repos/valeriomazzeo/RestKit/assignees{/user}","branches_url":"https://api.github.com/repos/valeriomazzeo/RestKit/branches{/branch}","tags_url":"https://api.github.com/repos/valeriomazzeo/RestKit/tags","blobs_url":"https://api.github.com/repos/valeriomazzeo/RestKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valeriomazzeo/RestKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valeriomazzeo/RestKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/valeriomazzeo/RestKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valeriomazzeo/RestKit/statuses/{sha}","languages_url":"https://api.github.com/repos/valeriomazzeo/RestKit/languages","stargazers_url":"https://api.github.com/repos/valeriomazzeo/RestKit/stargazers","contributors_url":"https://api.github.com/repos/valeriomazzeo/RestKit/contributors","subscribers_url":"https://api.github.com/repos/valeriomazzeo/RestKit/subscribers","subscription_url":"https://api.github.com/repos/valeriomazzeo/RestKit/subscription","commits_url":"https://api.github.com/repos/valeriomazzeo/RestKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/valeriomazzeo/RestKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/valeriomazzeo/RestKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/valeriomazzeo/RestKit/issues/comments/{number}","contents_url":"https://api.github.com/repos/valeriomazzeo/RestKit/contents/{+path}","compare_url":"https://api.github.com/repos/valeriomazzeo/RestKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valeriomazzeo/RestKit/merges","archive_url":"https://api.github.com/repos/valeriomazzeo/RestKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valeriomazzeo/RestKit/downloads","issues_url":"https://api.github.com/repos/valeriomazzeo/RestKit/issues{/number}","pulls_url":"https://api.github.com/repos/valeriomazzeo/RestKit/pulls{/number}","milestones_url":"https://api.github.com/repos/valeriomazzeo/RestKit/milestones{/number}","notifications_url":"https://api.github.com/repos/valeriomazzeo/RestKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valeriomazzeo/RestKit/labels{/name}","releases_url":"https://api.github.com/repos/valeriomazzeo/RestKit/releases{/id}","created_at":"2014-08-06T15:15:05Z","updated_at":"2014-08-13T18:59:07Z","pushed_at":"2015-01-26T17:28:51Z","git_url":"git://github.com/valeriomazzeo/RestKit.git","ssh_url":"git@github.com:valeriomazzeo/RestKit.git","clone_url":"https://github.com/valeriomazzeo/RestKit.git","svn_url":"https://github.com/valeriomazzeo/RestKit","homepage":"http://www.restkit.org/","size":43288,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"RestKit:development","ref":"development","sha":"b7de54bd1cab6e35d9de2fb975413744889bbbb1","user":{"login":"RestKit","id":903233,"avatar_url":"https://avatars.githubusercontent.com/u/903233?v=3","gravatar_id":"","url":"https://api.github.com/users/RestKit","html_url":"https://github.com/RestKit","followers_url":"https://api.github.com/users/RestKit/followers","following_url":"https://api.github.com/users/RestKit/following{/other_user}","gists_url":"https://api.github.com/users/RestKit/gists{/gist_id}","starred_url":"https://api.github.com/users/RestKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RestKit/subscriptions","organizations_url":"https://api.github.com/users/RestKit/orgs","repos_url":"https://api.github.com/users/RestKit/repos","events_url":"https://api.github.com/users/RestKit/events{/privacy}","received_events_url":"https://api.github.com/users/RestKit/received_events","type":"Organization","site_admin":false},"repo":{"id":508845,"name":"RestKit","full_name":"RestKit/RestKit","owner":{"login":"RestKit","id":903233,"avatar_url":"https://avatars.githubusercontent.com/u/903233?v=3","gravatar_id":"","url":"https://api.github.com/users/RestKit","html_url":"https://github.com/RestKit","followers_url":"https://api.github.com/users/RestKit/followers","following_url":"https://api.github.com/users/RestKit/following{/other_user}","gists_url":"https://api.github.com/users/RestKit/gists{/gist_id}","starred_url":"https://api.github.com/users/RestKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RestKit/subscriptions","organizations_url":"https://api.github.com/users/RestKit/orgs","repos_url":"https://api.github.com/users/RestKit/repos","events_url":"https://api.github.com/users/RestKit/events{/privacy}","received_events_url":"https://api.github.com/users/RestKit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RestKit/RestKit","description":"RestKit is a framework for consuming and modeling RESTful web resources on iOS and OS X","fork":false,"url":"https://api.github.com/repos/RestKit/RestKit","forks_url":"https://api.github.com/repos/RestKit/RestKit/forks","keys_url":"https://api.github.com/repos/RestKit/RestKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RestKit/RestKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RestKit/RestKit/teams","hooks_url":"https://api.github.com/repos/RestKit/RestKit/hooks","issue_events_url":"https://api.github.com/repos/RestKit/RestKit/issues/events{/number}","events_url":"https://api.github.com/repos/RestKit/RestKit/events","assignees_url":"https://api.github.com/repos/RestKit/RestKit/assignees{/user}","branches_url":"https://api.github.com/repos/RestKit/RestKit/branches{/branch}","tags_url":"https://api.github.com/repos/RestKit/RestKit/tags","blobs_url":"https://api.github.com/repos/RestKit/RestKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RestKit/RestKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RestKit/RestKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/RestKit/RestKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RestKit/RestKit/statuses/{sha}","languages_url":"https://api.github.com/repos/RestKit/RestKit/languages","stargazers_url":"https://api.github.com/repos/RestKit/RestKit/stargazers","contributors_url":"https://api.github.com/repos/RestKit/RestKit/contributors","subscribers_url":"https://api.github.com/repos/RestKit/RestKit/subscribers","subscription_url":"https://api.github.com/repos/RestKit/RestKit/subscription","commits_url":"https://api.github.com/repos/RestKit/RestKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/RestKit/RestKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/RestKit/RestKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/RestKit/RestKit/issues/comments/{number}","contents_url":"https://api.github.com/repos/RestKit/RestKit/contents/{+path}","compare_url":"https://api.github.com/repos/RestKit/RestKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RestKit/RestKit/merges","archive_url":"https://api.github.com/repos/RestKit/RestKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RestKit/RestKit/downloads","issues_url":"https://api.github.com/repos/RestKit/RestKit/issues{/number}","pulls_url":"https://api.github.com/repos/RestKit/RestKit/pulls{/number}","milestones_url":"https://api.github.com/repos/RestKit/RestKit/milestones{/number}","notifications_url":"https://api.github.com/repos/RestKit/RestKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RestKit/RestKit/labels{/name}","releases_url":"https://api.github.com/repos/RestKit/RestKit/releases{/id}","created_at":"2010-02-09T01:14:06Z","updated_at":"2015-01-26T15:41:39Z","pushed_at":"2015-01-25T06:41:54Z","git_url":"git://github.com/RestKit/RestKit.git","ssh_url":"git@github.com:RestKit/RestKit.git","clone_url":"https://github.com/RestKit/RestKit.git","svn_url":"https://github.com/RestKit/RestKit","homepage":"http://www.restkit.org/","size":68375,"stargazers_count":7449,"watchers_count":7449,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1763,"mirror_url":null,"open_issues_count":244,"forks":1763,"open_issues":244,"watchers":7449,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/RestKit/RestKit/pulls/2147"},"html":{"href":"https://github.com/RestKit/RestKit/pull/2147"},"issue":{"href":"https://api.github.com/repos/RestKit/RestKit/issues/2147"},"comments":{"href":"https://api.github.com/repos/RestKit/RestKit/issues/2147/comments"},"review_comments":{"href":"https://api.github.com/repos/RestKit/RestKit/pulls/2147/comments"},"review_comment":{"href":"https://api.github.com/repos/RestKit/RestKit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/RestKit/RestKit/pulls/2147/commits"},"statuses":{"href":"https://api.github.com/repos/RestKit/RestKit/statuses/ce2fa79c04fa64807cef537a8d7dc044f0254d15"}}}}