{"action":"closed","number":91,"pull_request":{"url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/pulls/91","id":49599799,"html_url":"https://github.com/financialforcedev/fflib-apex-common/pull/91","diff_url":"https://github.com/financialforcedev/fflib-apex-common/pull/91.diff","patch_url":"https://github.com/financialforcedev/fflib-apex-common/pull/91.patch","issue_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/issues/91","number":91,"state":"closed","locked":false,"title":"Update RecordType.sObjectType.getDescribe().getName()","user":{"login":"tmowbrey","id":3031650,"avatar_url":"https://avatars.githubusercontent.com/u/3031650?v=3","gravatar_id":"","url":"https://api.github.com/users/tmowbrey","html_url":"https://github.com/tmowbrey","followers_url":"https://api.github.com/users/tmowbrey/followers","following_url":"https://api.github.com/users/tmowbrey/following{/other_user}","gists_url":"https://api.github.com/users/tmowbrey/gists{/gist_id}","starred_url":"https://api.github.com/users/tmowbrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmowbrey/subscriptions","organizations_url":"https://api.github.com/users/tmowbrey/orgs","repos_url":"https://api.github.com/users/tmowbrey/repos","events_url":"https://api.github.com/users/tmowbrey/events{/privacy}","received_events_url":"https://api.github.com/users/tmowbrey/received_events","type":"User","site_admin":false},"body":"RecordType.sObjectType.getDescribe().getName() returns \"SObjectType\". We need to use RecordType.getSObjectType().getDescribe().getName() to return RecordType. I've found that I need to use RecordType.getSObjectType() in place of RecordType.SObjectType everywhere in this library.","created_at":"2015-11-03T19:27:26Z","updated_at":"2015-11-18T10:06:20Z","closed_at":"2015-11-18T10:06:20Z","merged_at":"2015-11-18T10:06:20Z","merge_commit_sha":"76124940caf4d992dbe42c4aceabb4e77dda0868","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/pulls/91/commits","review_comments_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/pulls/91/comments","review_comment_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/issues/91/comments","statuses_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/statuses/3c92616af57ef9f292446ccc94f968cc857a5562","head":{"label":"tmowbrey:patch-3","ref":"patch-3","sha":"3c92616af57ef9f292446ccc94f968cc857a5562","user":{"login":"tmowbrey","id":3031650,"avatar_url":"https://avatars.githubusercontent.com/u/3031650?v=3","gravatar_id":"","url":"https://api.github.com/users/tmowbrey","html_url":"https://github.com/tmowbrey","followers_url":"https://api.github.com/users/tmowbrey/followers","following_url":"https://api.github.com/users/tmowbrey/following{/other_user}","gists_url":"https://api.github.com/users/tmowbrey/gists{/gist_id}","starred_url":"https://api.github.com/users/tmowbrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmowbrey/subscriptions","organizations_url":"https://api.github.com/users/tmowbrey/orgs","repos_url":"https://api.github.com/users/tmowbrey/repos","events_url":"https://api.github.com/users/tmowbrey/events{/privacy}","received_events_url":"https://api.github.com/users/tmowbrey/received_events","type":"User","site_admin":false},"repo":{"id":21477244,"name":"fflib-apex-common","full_name":"tmowbrey/fflib-apex-common","owner":{"login":"tmowbrey","id":3031650,"avatar_url":"https://avatars.githubusercontent.com/u/3031650?v=3","gravatar_id":"","url":"https://api.github.com/users/tmowbrey","html_url":"https://github.com/tmowbrey","followers_url":"https://api.github.com/users/tmowbrey/followers","following_url":"https://api.github.com/users/tmowbrey/following{/other_user}","gists_url":"https://api.github.com/users/tmowbrey/gists{/gist_id}","starred_url":"https://api.github.com/users/tmowbrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmowbrey/subscriptions","organizations_url":"https://api.github.com/users/tmowbrey/orgs","repos_url":"https://api.github.com/users/tmowbrey/repos","events_url":"https://api.github.com/users/tmowbrey/events{/privacy}","received_events_url":"https://api.github.com/users/tmowbrey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tmowbrey/fflib-apex-common","description":"Common Apex Library supporting Apex Enterprise Patterns and much more!","fork":true,"url":"https://api.github.com/repos/tmowbrey/fflib-apex-common","forks_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/forks","keys_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/teams","hooks_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/hooks","issue_events_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/issues/events{/number}","events_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/events","assignees_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/assignees{/user}","branches_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/branches{/branch}","tags_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/tags","blobs_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/statuses/{sha}","languages_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/languages","stargazers_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/stargazers","contributors_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/contributors","subscribers_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/subscribers","subscription_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/subscription","commits_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/contents/{+path}","compare_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/merges","archive_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/downloads","issues_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/issues{/number}","pulls_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/pulls{/number}","milestones_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/milestones{/number}","notifications_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/labels{/name}","releases_url":"https://api.github.com/repos/tmowbrey/fflib-apex-common/releases{/id}","created_at":"2014-07-03T21:17:45Z","updated_at":"2014-07-03T21:18:37Z","pushed_at":"2015-11-03T19:27:15Z","git_url":"git://github.com/tmowbrey/fflib-apex-common.git","ssh_url":"git@github.com:tmowbrey/fflib-apex-common.git","clone_url":"https://github.com/tmowbrey/fflib-apex-common.git","svn_url":"https://github.com/tmowbrey/fflib-apex-common","homepage":"","size":430,"stargazers_count":0,"watchers_count":0,"language":null,"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":"master"}},"base":{"label":"financialforcedev:master","ref":"master","sha":"7ce5e0e5caa25a82b25ff46b2e84de90f6ccb356","user":{"login":"financialforcedev","id":2260530,"avatar_url":"https://avatars.githubusercontent.com/u/2260530?v=3","gravatar_id":"","url":"https://api.github.com/users/financialforcedev","html_url":"https://github.com/financialforcedev","followers_url":"https://api.github.com/users/financialforcedev/followers","following_url":"https://api.github.com/users/financialforcedev/following{/other_user}","gists_url":"https://api.github.com/users/financialforcedev/gists{/gist_id}","starred_url":"https://api.github.com/users/financialforcedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/financialforcedev/subscriptions","organizations_url":"https://api.github.com/users/financialforcedev/orgs","repos_url":"https://api.github.com/users/financialforcedev/repos","events_url":"https://api.github.com/users/financialforcedev/events{/privacy}","received_events_url":"https://api.github.com/users/financialforcedev/received_events","type":"Organization","site_admin":false},"repo":{"id":12408168,"name":"fflib-apex-common","full_name":"financialforcedev/fflib-apex-common","owner":{"login":"financialforcedev","id":2260530,"avatar_url":"https://avatars.githubusercontent.com/u/2260530?v=3","gravatar_id":"","url":"https://api.github.com/users/financialforcedev","html_url":"https://github.com/financialforcedev","followers_url":"https://api.github.com/users/financialforcedev/followers","following_url":"https://api.github.com/users/financialforcedev/following{/other_user}","gists_url":"https://api.github.com/users/financialforcedev/gists{/gist_id}","starred_url":"https://api.github.com/users/financialforcedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/financialforcedev/subscriptions","organizations_url":"https://api.github.com/users/financialforcedev/orgs","repos_url":"https://api.github.com/users/financialforcedev/repos","events_url":"https://api.github.com/users/financialforcedev/events{/privacy}","received_events_url":"https://api.github.com/users/financialforcedev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/financialforcedev/fflib-apex-common","description":"Common Apex Library supporting Apex Enterprise Patterns and much more!","fork":false,"url":"https://api.github.com/repos/financialforcedev/fflib-apex-common","forks_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/forks","keys_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/teams","hooks_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/hooks","issue_events_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/issues/events{/number}","events_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/events","assignees_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/assignees{/user}","branches_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/branches{/branch}","tags_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/tags","blobs_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/statuses/{sha}","languages_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/languages","stargazers_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/stargazers","contributors_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/contributors","subscribers_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/subscribers","subscription_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/subscription","commits_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/contents/{+path}","compare_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/merges","archive_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/downloads","issues_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/issues{/number}","pulls_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/pulls{/number}","milestones_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/milestones{/number}","notifications_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/labels{/name}","releases_url":"https://api.github.com/repos/financialforcedev/fflib-apex-common/releases{/id}","created_at":"2013-08-27T14:25:04Z","updated_at":"2015-11-12T23:51:51Z","pushed_at":"2015-11-18T10:06:20Z","git_url":"git://github.com/financialforcedev/fflib-apex-common.git","ssh_url":"git@github.com:financialforcedev/fflib-apex-common.git","clone_url":"https://github.com/financialforcedev/fflib-apex-common.git","svn_url":"https://github.com/financialforcedev/fflib-apex-common","homepage":"","size":924,"stargazers_count":105,"watchers_count":105,"language":"Apex","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":21,"forks":60,"open_issues":21,"watchers":105,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/financialforcedev/fflib-apex-common/pulls/91"},"html":{"href":"https://github.com/financialforcedev/fflib-apex-common/pull/91"},"issue":{"href":"https://api.github.com/repos/financialforcedev/fflib-apex-common/issues/91"},"comments":{"href":"https://api.github.com/repos/financialforcedev/fflib-apex-common/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/financialforcedev/fflib-apex-common/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/financialforcedev/fflib-apex-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/financialforcedev/fflib-apex-common/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/financialforcedev/fflib-apex-common/statuses/3c92616af57ef9f292446ccc94f968cc857a5562"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"afawcett","id":1167760,"avatar_url":"https://avatars.githubusercontent.com/u/1167760?v=3","gravatar_id":"","url":"https://api.github.com/users/afawcett","html_url":"https://github.com/afawcett","followers_url":"https://api.github.com/users/afawcett/followers","following_url":"https://api.github.com/users/afawcett/following{/other_user}","gists_url":"https://api.github.com/users/afawcett/gists{/gist_id}","starred_url":"https://api.github.com/users/afawcett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afawcett/subscriptions","organizations_url":"https://api.github.com/users/afawcett/orgs","repos_url":"https://api.github.com/users/afawcett/repos","events_url":"https://api.github.com/users/afawcett/events{/privacy}","received_events_url":"https://api.github.com/users/afawcett/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}