{"action":"closed","number":1055,"pull_request":{"url":"https://api.github.com/repos/mongodb/morphia/pulls/1055","id":91056952,"html_url":"https://github.com/mongodb/morphia/pull/1055","diff_url":"https://github.com/mongodb/morphia/pull/1055.diff","patch_url":"https://github.com/mongodb/morphia/pull/1055.patch","issue_url":"https://api.github.com/repos/mongodb/morphia/issues/1055","number":1055,"state":"closed","locked":false,"title":"update shouldSaveClassName() to honor mapping data","user":{"login":"evanchooly","id":195021,"avatar_url":"https://avatars.githubusercontent.com/u/195021?v=3","gravatar_id":"","url":"https://api.github.com/users/evanchooly","html_url":"https://github.com/evanchooly","followers_url":"https://api.github.com/users/evanchooly/followers","following_url":"https://api.github.com/users/evanchooly/following{/other_user}","gists_url":"https://api.github.com/users/evanchooly/gists{/gist_id}","starred_url":"https://api.github.com/users/evanchooly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanchooly/subscriptions","organizations_url":"https://api.github.com/users/evanchooly/orgs","repos_url":"https://api.github.com/users/evanchooly/repos","events_url":"https://api.github.com/users/evanchooly/events{/privacy}","received_events_url":"https://api.github.com/users/evanchooly/received_events","type":"User","site_admin":false},"body":"This patch attempts to find any mapping data for a value to determine if className should be included.  Barring that a slightly more involved logic is used.\r\n\r\nThis resolves #379.","created_at":"2016-10-26T18:05:38Z","updated_at":"2016-10-27T12:26:30Z","closed_at":"2016-10-27T12:26:30Z","merged_at":null,"merge_commit_sha":"a0f4b0cc95e2d012284080e482924d32017c2dce","assignee":{"login":"rozza","id":420,"avatar_url":"https://avatars.githubusercontent.com/u/420?v=3","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},"assignees":[{"login":"rozza","id":420,"avatar_url":"https://avatars.githubusercontent.com/u/420?v=3","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},{"login":"jyemin","id":1111546,"avatar_url":"https://avatars.githubusercontent.com/u/1111546?v=3","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/morphia/pulls/1055/commits","review_comments_url":"https://api.github.com/repos/mongodb/morphia/pulls/1055/comments","review_comment_url":"https://api.github.com/repos/mongodb/morphia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/morphia/issues/1055/comments","statuses_url":"https://api.github.com/repos/mongodb/morphia/statuses/874f5a32747da7608c066197d9419fcdcbde190d","head":{"label":"mongodb:updateValidations","ref":"updateValidations","sha":"874f5a32747da7608c066197d9419fcdcbde190d","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":9677593,"name":"morphia","full_name":"mongodb/morphia","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/morphia","description":"MongoDB object-document mapper in Java based on https://github.com/mongodb/mongo-java-driver","fork":false,"url":"https://api.github.com/repos/mongodb/morphia","forks_url":"https://api.github.com/repos/mongodb/morphia/forks","keys_url":"https://api.github.com/repos/mongodb/morphia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/morphia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/morphia/teams","hooks_url":"https://api.github.com/repos/mongodb/morphia/hooks","issue_events_url":"https://api.github.com/repos/mongodb/morphia/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/morphia/events","assignees_url":"https://api.github.com/repos/mongodb/morphia/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/morphia/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/morphia/tags","blobs_url":"https://api.github.com/repos/mongodb/morphia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/morphia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/morphia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/morphia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/morphia/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/morphia/languages","stargazers_url":"https://api.github.com/repos/mongodb/morphia/stargazers","contributors_url":"https://api.github.com/repos/mongodb/morphia/contributors","subscribers_url":"https://api.github.com/repos/mongodb/morphia/subscribers","subscription_url":"https://api.github.com/repos/mongodb/morphia/subscription","commits_url":"https://api.github.com/repos/mongodb/morphia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/morphia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/morphia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/morphia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/morphia/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/morphia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/morphia/merges","archive_url":"https://api.github.com/repos/mongodb/morphia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/morphia/downloads","issues_url":"https://api.github.com/repos/mongodb/morphia/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/morphia/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/morphia/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/morphia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/morphia/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/morphia/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb/morphia/deployments","created_at":"2013-04-25T17:41:02Z","updated_at":"2016-10-24T14:19:17Z","pushed_at":"2016-10-26T23:57:56Z","git_url":"git://github.com/mongodb/morphia.git","ssh_url":"git@github.com:mongodb/morphia.git","clone_url":"https://github.com/mongodb/morphia.git","svn_url":"https://github.com/mongodb/morphia","homepage":"","size":15313,"stargazers_count":1026,"watchers_count":1026,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":300,"mirror_url":null,"open_issues_count":114,"forks":300,"open_issues":114,"watchers":1026,"default_branch":"master"}},"base":{"label":"mongodb:master","ref":"master","sha":"a7f0d529e91eb8f7bcbe2d2e69324f0e62b63319","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":9677593,"name":"morphia","full_name":"mongodb/morphia","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/morphia","description":"MongoDB object-document mapper in Java based on https://github.com/mongodb/mongo-java-driver","fork":false,"url":"https://api.github.com/repos/mongodb/morphia","forks_url":"https://api.github.com/repos/mongodb/morphia/forks","keys_url":"https://api.github.com/repos/mongodb/morphia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/morphia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/morphia/teams","hooks_url":"https://api.github.com/repos/mongodb/morphia/hooks","issue_events_url":"https://api.github.com/repos/mongodb/morphia/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/morphia/events","assignees_url":"https://api.github.com/repos/mongodb/morphia/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/morphia/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/morphia/tags","blobs_url":"https://api.github.com/repos/mongodb/morphia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/morphia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/morphia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/morphia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/morphia/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/morphia/languages","stargazers_url":"https://api.github.com/repos/mongodb/morphia/stargazers","contributors_url":"https://api.github.com/repos/mongodb/morphia/contributors","subscribers_url":"https://api.github.com/repos/mongodb/morphia/subscribers","subscription_url":"https://api.github.com/repos/mongodb/morphia/subscription","commits_url":"https://api.github.com/repos/mongodb/morphia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/morphia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/morphia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/morphia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/morphia/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/morphia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/morphia/merges","archive_url":"https://api.github.com/repos/mongodb/morphia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/morphia/downloads","issues_url":"https://api.github.com/repos/mongodb/morphia/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/morphia/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/morphia/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/morphia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/morphia/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/morphia/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb/morphia/deployments","created_at":"2013-04-25T17:41:02Z","updated_at":"2016-10-24T14:19:17Z","pushed_at":"2016-10-26T23:57:56Z","git_url":"git://github.com/mongodb/morphia.git","ssh_url":"git@github.com:mongodb/morphia.git","clone_url":"https://github.com/mongodb/morphia.git","svn_url":"https://github.com/mongodb/morphia","homepage":"","size":15313,"stargazers_count":1026,"watchers_count":1026,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":300,"mirror_url":null,"open_issues_count":114,"forks":300,"open_issues":114,"watchers":1026,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/morphia/pulls/1055"},"html":{"href":"https://github.com/mongodb/morphia/pull/1055"},"issue":{"href":"https://api.github.com/repos/mongodb/morphia/issues/1055"},"comments":{"href":"https://api.github.com/repos/mongodb/morphia/issues/1055/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/morphia/pulls/1055/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/morphia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/morphia/pulls/1055/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/morphia/statuses/874f5a32747da7608c066197d9419fcdcbde190d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":68,"deletions":25,"changed_files":4}}
{"actor":{"display_login":"evanchooly"}}