{"action":"created","comment":{"url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/comments/120590784","pull_request_review_id":42564587,"id":120590784,"diff_hunk":"@@ -2,20 +2,11 @@ import {Category} from \"./Category\";\n \n export class Post {\n \n-    id: number;\n-    title: string;\n-    text: string;\n-    createDate: Date = new Date();\n-    categories: Category[];\n-\n-    constructor(id: number,\n-                title: string,\n-                text: string,\n-                categories: Category[]) {\n-        this.id = id;\n-        this.title = title;\n-        this.text = text;\n-        this.categories = categories;\n-    }\n+    constructor(\n+        public id: number,\n+        public title: string,\n+        public text: string,\n+        public categories: Category[]\n+    ) { }","path":"src/model/Post.ts","position":24,"original_position":24,"commit_id":"28b1eb19a2680535fc03f52bcf687e941b53ad82","original_commit_id":"28b1eb19a2680535fc03f52bcf687e941b53ad82","user":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars0.githubusercontent.com/u/1753397?v=3","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"body":"nope lets left it verbose. verbose is good because its demo and should be as simple as possible for users","created_at":"2017-06-07T10:38:22Z","updated_at":"2017-06-07T10:38:22Z","html_url":"https://github.com/pleerock/routing-controllers-express-demo/pull/1#discussion_r120590784","pull_request_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/comments/120590784"},"html":{"href":"https://github.com/pleerock/routing-controllers-express-demo/pull/1#discussion_r120590784"},"pull_request":{"href":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/1","id":122790393,"html_url":"https://github.com/pleerock/routing-controllers-express-demo/pull/1","diff_url":"https://github.com/pleerock/routing-controllers-express-demo/pull/1.diff","patch_url":"https://github.com/pleerock/routing-controllers-express-demo/pull/1.patch","issue_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/issues/1","number":1,"state":"closed","locked":false,"title":"Update demo to latest routing-controllers release","user":{"login":"NoNameProvided","id":4706265,"avatar_url":"https://avatars0.githubusercontent.com/u/4706265?v=3","gravatar_id":"","url":"https://api.github.com/users/NoNameProvided","html_url":"https://github.com/NoNameProvided","followers_url":"https://api.github.com/users/NoNameProvided/followers","following_url":"https://api.github.com/users/NoNameProvided/following{/other_user}","gists_url":"https://api.github.com/users/NoNameProvided/gists{/gist_id}","starred_url":"https://api.github.com/users/NoNameProvided/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoNameProvided/subscriptions","organizations_url":"https://api.github.com/users/NoNameProvided/orgs","repos_url":"https://api.github.com/users/NoNameProvided/repos","events_url":"https://api.github.com/users/NoNameProvided/events{/privacy}","received_events_url":"https://api.github.com/users/NoNameProvided/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-28T10:05:47Z","updated_at":"2017-06-07T10:38:22Z","closed_at":"2017-06-06T06:13:56Z","merged_at":"2017-06-06T06:13:56Z","merge_commit_sha":"e144b640cd83e600bc392d46e963d7a75476e2cd","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/issues/1/comments","statuses_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/statuses/28b1eb19a2680535fc03f52bcf687e941b53ad82","head":{"label":"NoNameProvided:master","ref":"master","sha":"28b1eb19a2680535fc03f52bcf687e941b53ad82","user":{"login":"NoNameProvided","id":4706265,"avatar_url":"https://avatars0.githubusercontent.com/u/4706265?v=3","gravatar_id":"","url":"https://api.github.com/users/NoNameProvided","html_url":"https://github.com/NoNameProvided","followers_url":"https://api.github.com/users/NoNameProvided/followers","following_url":"https://api.github.com/users/NoNameProvided/following{/other_user}","gists_url":"https://api.github.com/users/NoNameProvided/gists{/gist_id}","starred_url":"https://api.github.com/users/NoNameProvided/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoNameProvided/subscriptions","organizations_url":"https://api.github.com/users/NoNameProvided/orgs","repos_url":"https://api.github.com/users/NoNameProvided/repos","events_url":"https://api.github.com/users/NoNameProvided/events{/privacy}","received_events_url":"https://api.github.com/users/NoNameProvided/received_events","type":"User","site_admin":false},"repo":{"id":92651603,"name":"routing-controllers-express-demo","full_name":"NoNameProvided/routing-controllers-express-demo","owner":{"login":"NoNameProvided","id":4706265,"avatar_url":"https://avatars0.githubusercontent.com/u/4706265?v=3","gravatar_id":"","url":"https://api.github.com/users/NoNameProvided","html_url":"https://github.com/NoNameProvided","followers_url":"https://api.github.com/users/NoNameProvided/followers","following_url":"https://api.github.com/users/NoNameProvided/following{/other_user}","gists_url":"https://api.github.com/users/NoNameProvided/gists{/gist_id}","starred_url":"https://api.github.com/users/NoNameProvided/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoNameProvided/subscriptions","organizations_url":"https://api.github.com/users/NoNameProvided/orgs","repos_url":"https://api.github.com/users/NoNameProvided/repos","events_url":"https://api.github.com/users/NoNameProvided/events{/privacy}","received_events_url":"https://api.github.com/users/NoNameProvided/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NoNameProvided/routing-controllers-express-demo","description":"Example of express + typescript project using routing-controllers","fork":true,"url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo","forks_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/forks","keys_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/teams","hooks_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/hooks","issue_events_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/issues/events{/number}","events_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/events","assignees_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/assignees{/user}","branches_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/branches{/branch}","tags_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/tags","blobs_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/languages","stargazers_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/stargazers","contributors_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/contributors","subscribers_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/subscribers","subscription_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/subscription","commits_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/contents/{+path}","compare_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/merges","archive_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/downloads","issues_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/issues{/number}","pulls_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/labels{/name}","releases_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/releases{/id}","deployments_url":"https://api.github.com/repos/NoNameProvided/routing-controllers-express-demo/deployments","created_at":"2017-05-28T09:25:13Z","updated_at":"2017-05-28T09:25:14Z","pushed_at":"2017-05-28T10:15:27Z","git_url":"git://github.com/NoNameProvided/routing-controllers-express-demo.git","ssh_url":"git@github.com:NoNameProvided/routing-controllers-express-demo.git","clone_url":"https://github.com/NoNameProvided/routing-controllers-express-demo.git","svn_url":"https://github.com/NoNameProvided/routing-controllers-express-demo","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"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":"pleerock:master","ref":"master","sha":"ffb1360c3b3aa4262683e3d9e30ced2ef924a9e8","user":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars0.githubusercontent.com/u/1753397?v=3","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"repo":{"id":64452985,"name":"routing-controllers-express-demo","full_name":"pleerock/routing-controllers-express-demo","owner":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars0.githubusercontent.com/u/1753397?v=3","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pleerock/routing-controllers-express-demo","description":"Example of express + typescript project using routing-controllers","fork":false,"url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo","forks_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/forks","keys_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/teams","hooks_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/hooks","issue_events_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/issues/events{/number}","events_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/events","assignees_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/assignees{/user}","branches_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/branches{/branch}","tags_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/tags","blobs_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/languages","stargazers_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/stargazers","contributors_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/contributors","subscribers_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/subscribers","subscription_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/subscription","commits_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/contents/{+path}","compare_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/merges","archive_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/downloads","issues_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/issues{/number}","pulls_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/labels{/name}","releases_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/releases{/id}","deployments_url":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/deployments","created_at":"2016-07-29T05:28:53Z","updated_at":"2017-05-06T09:03:37Z","pushed_at":"2017-06-06T06:35:49Z","git_url":"git://github.com/pleerock/routing-controllers-express-demo.git","ssh_url":"git@github.com:pleerock/routing-controllers-express-demo.git","clone_url":"https://github.com/pleerock/routing-controllers-express-demo.git","svn_url":"https://github.com/pleerock/routing-controllers-express-demo","homepage":null,"size":27,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/1"},"html":{"href":"https://github.com/pleerock/routing-controllers-express-demo/pull/1"},"issue":{"href":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/issues/1"},"comments":{"href":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/pleerock/routing-controllers-express-demo/statuses/28b1eb19a2680535fc03f52bcf687e941b53ad82"}}}}
{"actor":{"display_login":"pleerock"}}