{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/pulls/26","id":38528637,"html_url":"https://github.com/ProLoser/AngularJS-ORM/pull/26","diff_url":"https://github.com/ProLoser/AngularJS-ORM/pull/26.diff","patch_url":"https://github.com/ProLoser/AngularJS-ORM/pull/26.patch","issue_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/issues/26","number":26,"state":"closed","locked":false,"title":"enhance BaseObject constructor","user":{"login":"stryju","id":25367,"avatar_url":"https://avatars.githubusercontent.com/u/25367?v=3","gravatar_id":"","url":"https://api.github.com/users/stryju","html_url":"https://github.com/stryju","followers_url":"https://api.github.com/users/stryju/followers","following_url":"https://api.github.com/users/stryju/following{/other_user}","gists_url":"https://api.github.com/users/stryju/gists{/gist_id}","starred_url":"https://api.github.com/users/stryju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stryju/subscriptions","organizations_url":"https://api.github.com/users/stryju/orgs","repos_url":"https://api.github.com/users/stryju/repos","events_url":"https://api.github.com/users/stryju/events{/privacy}","received_events_url":"https://api.github.com/users/stryju/received_events","type":"User","site_admin":false},"body":"the reasoning behind this is to add an option to provide \"default value\" or provide few sources for given model\r\n\r\nsee https://github.com/ProLoser/AngularJS-ORM/blob/adc766978025a99769a7e1b2a7fb125933f14026/modules/Task/Task.js#L101 for usecase","created_at":"2015-06-25T09:37:32Z","updated_at":"2015-06-25T09:50:23Z","closed_at":"2015-06-25T09:50:23Z","merged_at":null,"merge_commit_sha":"bf693b56d91a6e1350c645314a7ac41eb45d11dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/pulls/26/commits","review_comments_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/pulls/26/comments","review_comment_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/issues/26/comments","statuses_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/statuses/adc766978025a99769a7e1b2a7fb125933f14026","head":{"label":"stryju:feature/baseobject-constructor","ref":"feature/baseobject-constructor","sha":"adc766978025a99769a7e1b2a7fb125933f14026","user":{"login":"stryju","id":25367,"avatar_url":"https://avatars.githubusercontent.com/u/25367?v=3","gravatar_id":"","url":"https://api.github.com/users/stryju","html_url":"https://github.com/stryju","followers_url":"https://api.github.com/users/stryju/followers","following_url":"https://api.github.com/users/stryju/following{/other_user}","gists_url":"https://api.github.com/users/stryju/gists{/gist_id}","starred_url":"https://api.github.com/users/stryju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stryju/subscriptions","organizations_url":"https://api.github.com/users/stryju/orgs","repos_url":"https://api.github.com/users/stryju/repos","events_url":"https://api.github.com/users/stryju/events{/privacy}","received_events_url":"https://api.github.com/users/stryju/received_events","type":"User","site_admin":false},"repo":{"id":37518916,"name":"AngularJS-ORM","full_name":"stryju/AngularJS-ORM","owner":{"login":"stryju","id":25367,"avatar_url":"https://avatars.githubusercontent.com/u/25367?v=3","gravatar_id":"","url":"https://api.github.com/users/stryju","html_url":"https://github.com/stryju","followers_url":"https://api.github.com/users/stryju/followers","following_url":"https://api.github.com/users/stryju/following{/other_user}","gists_url":"https://api.github.com/users/stryju/gists{/gist_id}","starred_url":"https://api.github.com/users/stryju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stryju/subscriptions","organizations_url":"https://api.github.com/users/stryju/orgs","repos_url":"https://api.github.com/users/stryju/repos","events_url":"https://api.github.com/users/stryju/events{/privacy}","received_events_url":"https://api.github.com/users/stryju/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stryju/AngularJS-ORM","description":"Example of scalable architecture for my NG-Conf 2014 talk","fork":true,"url":"https://api.github.com/repos/stryju/AngularJS-ORM","forks_url":"https://api.github.com/repos/stryju/AngularJS-ORM/forks","keys_url":"https://api.github.com/repos/stryju/AngularJS-ORM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stryju/AngularJS-ORM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stryju/AngularJS-ORM/teams","hooks_url":"https://api.github.com/repos/stryju/AngularJS-ORM/hooks","issue_events_url":"https://api.github.com/repos/stryju/AngularJS-ORM/issues/events{/number}","events_url":"https://api.github.com/repos/stryju/AngularJS-ORM/events","assignees_url":"https://api.github.com/repos/stryju/AngularJS-ORM/assignees{/user}","branches_url":"https://api.github.com/repos/stryju/AngularJS-ORM/branches{/branch}","tags_url":"https://api.github.com/repos/stryju/AngularJS-ORM/tags","blobs_url":"https://api.github.com/repos/stryju/AngularJS-ORM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stryju/AngularJS-ORM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stryju/AngularJS-ORM/git/refs{/sha}","trees_url":"https://api.github.com/repos/stryju/AngularJS-ORM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stryju/AngularJS-ORM/statuses/{sha}","languages_url":"https://api.github.com/repos/stryju/AngularJS-ORM/languages","stargazers_url":"https://api.github.com/repos/stryju/AngularJS-ORM/stargazers","contributors_url":"https://api.github.com/repos/stryju/AngularJS-ORM/contributors","subscribers_url":"https://api.github.com/repos/stryju/AngularJS-ORM/subscribers","subscription_url":"https://api.github.com/repos/stryju/AngularJS-ORM/subscription","commits_url":"https://api.github.com/repos/stryju/AngularJS-ORM/commits{/sha}","git_commits_url":"https://api.github.com/repos/stryju/AngularJS-ORM/git/commits{/sha}","comments_url":"https://api.github.com/repos/stryju/AngularJS-ORM/comments{/number}","issue_comment_url":"https://api.github.com/repos/stryju/AngularJS-ORM/issues/comments{/number}","contents_url":"https://api.github.com/repos/stryju/AngularJS-ORM/contents/{+path}","compare_url":"https://api.github.com/repos/stryju/AngularJS-ORM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stryju/AngularJS-ORM/merges","archive_url":"https://api.github.com/repos/stryju/AngularJS-ORM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stryju/AngularJS-ORM/downloads","issues_url":"https://api.github.com/repos/stryju/AngularJS-ORM/issues{/number}","pulls_url":"https://api.github.com/repos/stryju/AngularJS-ORM/pulls{/number}","milestones_url":"https://api.github.com/repos/stryju/AngularJS-ORM/milestones{/number}","notifications_url":"https://api.github.com/repos/stryju/AngularJS-ORM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stryju/AngularJS-ORM/labels{/name}","releases_url":"https://api.github.com/repos/stryju/AngularJS-ORM/releases{/id}","created_at":"2015-06-16T08:51:15Z","updated_at":"2015-06-16T08:51:16Z","pushed_at":"2015-06-25T09:35:12Z","git_url":"git://github.com/stryju/AngularJS-ORM.git","ssh_url":"git@github.com:stryju/AngularJS-ORM.git","clone_url":"https://github.com/stryju/AngularJS-ORM.git","svn_url":"https://github.com/stryju/AngularJS-ORM","homepage":"http://www.youtube.com/watch?v=Iw-3qgG_ipU","size":186,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"ProLoser:master","ref":"master","sha":"29ea111ee96ad04af79b0dffcbe7b0bbf65b7ba1","user":{"login":"ProLoser","id":67395,"avatar_url":"https://avatars.githubusercontent.com/u/67395?v=3","gravatar_id":"","url":"https://api.github.com/users/ProLoser","html_url":"https://github.com/ProLoser","followers_url":"https://api.github.com/users/ProLoser/followers","following_url":"https://api.github.com/users/ProLoser/following{/other_user}","gists_url":"https://api.github.com/users/ProLoser/gists{/gist_id}","starred_url":"https://api.github.com/users/ProLoser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProLoser/subscriptions","organizations_url":"https://api.github.com/users/ProLoser/orgs","repos_url":"https://api.github.com/users/ProLoser/repos","events_url":"https://api.github.com/users/ProLoser/events{/privacy}","received_events_url":"https://api.github.com/users/ProLoser/received_events","type":"User","site_admin":false},"repo":{"id":16783916,"name":"AngularJS-ORM","full_name":"ProLoser/AngularJS-ORM","owner":{"login":"ProLoser","id":67395,"avatar_url":"https://avatars.githubusercontent.com/u/67395?v=3","gravatar_id":"","url":"https://api.github.com/users/ProLoser","html_url":"https://github.com/ProLoser","followers_url":"https://api.github.com/users/ProLoser/followers","following_url":"https://api.github.com/users/ProLoser/following{/other_user}","gists_url":"https://api.github.com/users/ProLoser/gists{/gist_id}","starred_url":"https://api.github.com/users/ProLoser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProLoser/subscriptions","organizations_url":"https://api.github.com/users/ProLoser/orgs","repos_url":"https://api.github.com/users/ProLoser/repos","events_url":"https://api.github.com/users/ProLoser/events{/privacy}","received_events_url":"https://api.github.com/users/ProLoser/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ProLoser/AngularJS-ORM","description":"Example of scalable architecture for my NG-Conf 2014 talk","fork":false,"url":"https://api.github.com/repos/ProLoser/AngularJS-ORM","forks_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/forks","keys_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/teams","hooks_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/hooks","issue_events_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/issues/events{/number}","events_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/events","assignees_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/assignees{/user}","branches_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/branches{/branch}","tags_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/tags","blobs_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/statuses/{sha}","languages_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/languages","stargazers_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/stargazers","contributors_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/contributors","subscribers_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/subscribers","subscription_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/subscription","commits_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/contents/{+path}","compare_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/merges","archive_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/downloads","issues_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/issues{/number}","pulls_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/pulls{/number}","milestones_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/milestones{/number}","notifications_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/labels{/name}","releases_url":"https://api.github.com/repos/ProLoser/AngularJS-ORM/releases{/id}","created_at":"2014-02-12T22:15:52Z","updated_at":"2015-06-24T06:25:54Z","pushed_at":"2015-06-25T09:37:33Z","git_url":"git://github.com/ProLoser/AngularJS-ORM.git","ssh_url":"git@github.com:ProLoser/AngularJS-ORM.git","clone_url":"https://github.com/ProLoser/AngularJS-ORM.git","svn_url":"https://github.com/ProLoser/AngularJS-ORM","homepage":"http://www.youtube.com/watch?v=Iw-3qgG_ipU","size":778,"stargazers_count":168,"watchers_count":168,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":4,"forks":28,"open_issues":4,"watchers":168,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ProLoser/AngularJS-ORM/pulls/26"},"html":{"href":"https://github.com/ProLoser/AngularJS-ORM/pull/26"},"issue":{"href":"https://api.github.com/repos/ProLoser/AngularJS-ORM/issues/26"},"comments":{"href":"https://api.github.com/repos/ProLoser/AngularJS-ORM/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/ProLoser/AngularJS-ORM/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/ProLoser/AngularJS-ORM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ProLoser/AngularJS-ORM/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/ProLoser/AngularJS-ORM/statuses/adc766978025a99769a7e1b2a7fb125933f14026"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":4,"changed_files":2}}