{"action":"closed","number":281,"pull_request":{"url":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls/281","id":175710537,"html_url":"https://github.com/Romakita/ts-express-decorators/pull/281","diff_url":"https://github.com/Romakita/ts-express-decorators/pull/281.diff","patch_url":"https://github.com/Romakita/ts-express-decorators/pull/281.patch","issue_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/281","number":281,"state":"closed","locked":false,"title":"fix(mongoose): Filter _id on generated Schema","user":{"login":"Romakita","id":1763311,"avatar_url":"https://avatars3.githubusercontent.com/u/1763311?v=4","gravatar_id":"","url":"https://api.github.com/users/Romakita","html_url":"https://github.com/Romakita","followers_url":"https://api.github.com/users/Romakita/followers","following_url":"https://api.github.com/users/Romakita/following{/other_user}","gists_url":"https://api.github.com/users/Romakita/gists{/gist_id}","starred_url":"https://api.github.com/users/Romakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romakita/subscriptions","organizations_url":"https://api.github.com/users/Romakita/orgs","repos_url":"https://api.github.com/users/Romakita/repos","events_url":"https://api.github.com/users/Romakita/events{/privacy}","received_events_url":"https://api.github.com/users/Romakita/received_events","type":"User","site_admin":false},"body":"_id is a reserved key for mongoose but not for the JsonSchema.\r\nNow the _id is filtered when JsonSchema is converted to a mongoose Schema.\r\n\r\nCloses: #280\r\n","created_at":"2018-03-17T17:09:54Z","updated_at":"2018-03-17T17:10:34Z","closed_at":"2018-03-17T17:10:34Z","merged_at":"2018-03-17T17:10:34Z","merge_commit_sha":"74cbb238878e7098fea3b4462fb6a4ee29257721","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls/281/commits","review_comments_url":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls/281/comments","review_comment_url":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/281/comments","statuses_url":"https://api.github.com/repos/Romakita/ts-express-decorators/statuses/1977e6e6b3d50c8e1539be6800452a0d5bf3dcb8","head":{"label":"Romakita:fix_mongoose_schema_id","ref":"fix_mongoose_schema_id","sha":"1977e6e6b3d50c8e1539be6800452a0d5bf3dcb8","user":{"login":"Romakita","id":1763311,"avatar_url":"https://avatars3.githubusercontent.com/u/1763311?v=4","gravatar_id":"","url":"https://api.github.com/users/Romakita","html_url":"https://github.com/Romakita","followers_url":"https://api.github.com/users/Romakita/followers","following_url":"https://api.github.com/users/Romakita/following{/other_user}","gists_url":"https://api.github.com/users/Romakita/gists{/gist_id}","starred_url":"https://api.github.com/users/Romakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romakita/subscriptions","organizations_url":"https://api.github.com/users/Romakita/orgs","repos_url":"https://api.github.com/users/Romakita/repos","events_url":"https://api.github.com/users/Romakita/events{/privacy}","received_events_url":"https://api.github.com/users/Romakita/received_events","type":"User","site_admin":false},"repo":{"id":52221518,"name":"ts-express-decorators","full_name":"Romakita/ts-express-decorators","owner":{"login":"Romakita","id":1763311,"avatar_url":"https://avatars3.githubusercontent.com/u/1763311?v=4","gravatar_id":"","url":"https://api.github.com/users/Romakita","html_url":"https://github.com/Romakita","followers_url":"https://api.github.com/users/Romakita/followers","following_url":"https://api.github.com/users/Romakita/following{/other_user}","gists_url":"https://api.github.com/users/Romakita/gists{/gist_id}","starred_url":"https://api.github.com/users/Romakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romakita/subscriptions","organizations_url":"https://api.github.com/users/Romakita/orgs","repos_url":"https://api.github.com/users/Romakita/repos","events_url":"https://api.github.com/users/Romakita/events{/privacy}","received_events_url":"https://api.github.com/users/Romakita/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Romakita/ts-express-decorators","description":" :triangular_ruler: A TypeScript Framework on top of Express. It provide a lot of decorators and guideline to write your code.","fork":false,"url":"https://api.github.com/repos/Romakita/ts-express-decorators","forks_url":"https://api.github.com/repos/Romakita/ts-express-decorators/forks","keys_url":"https://api.github.com/repos/Romakita/ts-express-decorators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Romakita/ts-express-decorators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Romakita/ts-express-decorators/teams","hooks_url":"https://api.github.com/repos/Romakita/ts-express-decorators/hooks","issue_events_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/events{/number}","events_url":"https://api.github.com/repos/Romakita/ts-express-decorators/events","assignees_url":"https://api.github.com/repos/Romakita/ts-express-decorators/assignees{/user}","branches_url":"https://api.github.com/repos/Romakita/ts-express-decorators/branches{/branch}","tags_url":"https://api.github.com/repos/Romakita/ts-express-decorators/tags","blobs_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/refs{/sha}","trees_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Romakita/ts-express-decorators/statuses/{sha}","languages_url":"https://api.github.com/repos/Romakita/ts-express-decorators/languages","stargazers_url":"https://api.github.com/repos/Romakita/ts-express-decorators/stargazers","contributors_url":"https://api.github.com/repos/Romakita/ts-express-decorators/contributors","subscribers_url":"https://api.github.com/repos/Romakita/ts-express-decorators/subscribers","subscription_url":"https://api.github.com/repos/Romakita/ts-express-decorators/subscription","commits_url":"https://api.github.com/repos/Romakita/ts-express-decorators/commits{/sha}","git_commits_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/commits{/sha}","comments_url":"https://api.github.com/repos/Romakita/ts-express-decorators/comments{/number}","issue_comment_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/comments{/number}","contents_url":"https://api.github.com/repos/Romakita/ts-express-decorators/contents/{+path}","compare_url":"https://api.github.com/repos/Romakita/ts-express-decorators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Romakita/ts-express-decorators/merges","archive_url":"https://api.github.com/repos/Romakita/ts-express-decorators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Romakita/ts-express-decorators/downloads","issues_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues{/number}","pulls_url":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls{/number}","milestones_url":"https://api.github.com/repos/Romakita/ts-express-decorators/milestones{/number}","notifications_url":"https://api.github.com/repos/Romakita/ts-express-decorators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Romakita/ts-express-decorators/labels{/name}","releases_url":"https://api.github.com/repos/Romakita/ts-express-decorators/releases{/id}","deployments_url":"https://api.github.com/repos/Romakita/ts-express-decorators/deployments","created_at":"2016-02-21T18:38:47Z","updated_at":"2018-03-17T11:20:15Z","pushed_at":"2018-03-17T17:10:34Z","git_url":"git://github.com/Romakita/ts-express-decorators.git","ssh_url":"git@github.com:Romakita/ts-express-decorators.git","clone_url":"https://github.com/Romakita/ts-express-decorators.git","svn_url":"https://github.com/Romakita/ts-express-decorators","homepage":"https://romakita.github.io/ts-express-decorators","size":6122,"stargazers_count":349,"watchers_count":349,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":34,"open_issues":29,"watchers":349,"default_branch":"master"}},"base":{"label":"Romakita:master","ref":"master","sha":"c295a467d8044143a39ede3bfb8bfb74eba22a7f","user":{"login":"Romakita","id":1763311,"avatar_url":"https://avatars3.githubusercontent.com/u/1763311?v=4","gravatar_id":"","url":"https://api.github.com/users/Romakita","html_url":"https://github.com/Romakita","followers_url":"https://api.github.com/users/Romakita/followers","following_url":"https://api.github.com/users/Romakita/following{/other_user}","gists_url":"https://api.github.com/users/Romakita/gists{/gist_id}","starred_url":"https://api.github.com/users/Romakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romakita/subscriptions","organizations_url":"https://api.github.com/users/Romakita/orgs","repos_url":"https://api.github.com/users/Romakita/repos","events_url":"https://api.github.com/users/Romakita/events{/privacy}","received_events_url":"https://api.github.com/users/Romakita/received_events","type":"User","site_admin":false},"repo":{"id":52221518,"name":"ts-express-decorators","full_name":"Romakita/ts-express-decorators","owner":{"login":"Romakita","id":1763311,"avatar_url":"https://avatars3.githubusercontent.com/u/1763311?v=4","gravatar_id":"","url":"https://api.github.com/users/Romakita","html_url":"https://github.com/Romakita","followers_url":"https://api.github.com/users/Romakita/followers","following_url":"https://api.github.com/users/Romakita/following{/other_user}","gists_url":"https://api.github.com/users/Romakita/gists{/gist_id}","starred_url":"https://api.github.com/users/Romakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romakita/subscriptions","organizations_url":"https://api.github.com/users/Romakita/orgs","repos_url":"https://api.github.com/users/Romakita/repos","events_url":"https://api.github.com/users/Romakita/events{/privacy}","received_events_url":"https://api.github.com/users/Romakita/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Romakita/ts-express-decorators","description":" :triangular_ruler: A TypeScript Framework on top of Express. It provide a lot of decorators and guideline to write your code.","fork":false,"url":"https://api.github.com/repos/Romakita/ts-express-decorators","forks_url":"https://api.github.com/repos/Romakita/ts-express-decorators/forks","keys_url":"https://api.github.com/repos/Romakita/ts-express-decorators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Romakita/ts-express-decorators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Romakita/ts-express-decorators/teams","hooks_url":"https://api.github.com/repos/Romakita/ts-express-decorators/hooks","issue_events_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/events{/number}","events_url":"https://api.github.com/repos/Romakita/ts-express-decorators/events","assignees_url":"https://api.github.com/repos/Romakita/ts-express-decorators/assignees{/user}","branches_url":"https://api.github.com/repos/Romakita/ts-express-decorators/branches{/branch}","tags_url":"https://api.github.com/repos/Romakita/ts-express-decorators/tags","blobs_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/refs{/sha}","trees_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Romakita/ts-express-decorators/statuses/{sha}","languages_url":"https://api.github.com/repos/Romakita/ts-express-decorators/languages","stargazers_url":"https://api.github.com/repos/Romakita/ts-express-decorators/stargazers","contributors_url":"https://api.github.com/repos/Romakita/ts-express-decorators/contributors","subscribers_url":"https://api.github.com/repos/Romakita/ts-express-decorators/subscribers","subscription_url":"https://api.github.com/repos/Romakita/ts-express-decorators/subscription","commits_url":"https://api.github.com/repos/Romakita/ts-express-decorators/commits{/sha}","git_commits_url":"https://api.github.com/repos/Romakita/ts-express-decorators/git/commits{/sha}","comments_url":"https://api.github.com/repos/Romakita/ts-express-decorators/comments{/number}","issue_comment_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/comments{/number}","contents_url":"https://api.github.com/repos/Romakita/ts-express-decorators/contents/{+path}","compare_url":"https://api.github.com/repos/Romakita/ts-express-decorators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Romakita/ts-express-decorators/merges","archive_url":"https://api.github.com/repos/Romakita/ts-express-decorators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Romakita/ts-express-decorators/downloads","issues_url":"https://api.github.com/repos/Romakita/ts-express-decorators/issues{/number}","pulls_url":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls{/number}","milestones_url":"https://api.github.com/repos/Romakita/ts-express-decorators/milestones{/number}","notifications_url":"https://api.github.com/repos/Romakita/ts-express-decorators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Romakita/ts-express-decorators/labels{/name}","releases_url":"https://api.github.com/repos/Romakita/ts-express-decorators/releases{/id}","deployments_url":"https://api.github.com/repos/Romakita/ts-express-decorators/deployments","created_at":"2016-02-21T18:38:47Z","updated_at":"2018-03-17T11:20:15Z","pushed_at":"2018-03-17T17:10:34Z","git_url":"git://github.com/Romakita/ts-express-decorators.git","ssh_url":"git@github.com:Romakita/ts-express-decorators.git","clone_url":"https://github.com/Romakita/ts-express-decorators.git","svn_url":"https://github.com/Romakita/ts-express-decorators","homepage":"https://romakita.github.io/ts-express-decorators","size":6122,"stargazers_count":349,"watchers_count":349,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":34,"open_issues":29,"watchers":349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls/281"},"html":{"href":"https://github.com/Romakita/ts-express-decorators/pull/281"},"issue":{"href":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/281"},"comments":{"href":"https://api.github.com/repos/Romakita/ts-express-decorators/issues/281/comments"},"review_comments":{"href":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls/281/comments"},"review_comment":{"href":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Romakita/ts-express-decorators/pulls/281/commits"},"statuses":{"href":"https://api.github.com/repos/Romakita/ts-express-decorators/statuses/1977e6e6b3d50c8e1539be6800452a0d5bf3dcb8"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Romakita","id":1763311,"avatar_url":"https://avatars3.githubusercontent.com/u/1763311?v=4","gravatar_id":"","url":"https://api.github.com/users/Romakita","html_url":"https://github.com/Romakita","followers_url":"https://api.github.com/users/Romakita/followers","following_url":"https://api.github.com/users/Romakita/following{/other_user}","gists_url":"https://api.github.com/users/Romakita/gists{/gist_id}","starred_url":"https://api.github.com/users/Romakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romakita/subscriptions","organizations_url":"https://api.github.com/users/Romakita/orgs","repos_url":"https://api.github.com/users/Romakita/repos","events_url":"https://api.github.com/users/Romakita/events{/privacy}","received_events_url":"https://api.github.com/users/Romakita/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":12,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"Romakita"}}