payload: {"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/bangbang93/mongoose-typescript/pulls/1","id":264327900,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY0MzI3OTAw","html_url":"https://github.com/bangbang93/mongoose-typescript/pull/1","diff_url":"https://github.com/bangbang93/mongoose-typescript/pull/1.diff","patch_url":"https://github.com/bangbang93/mongoose-typescript/pull/1.patch","issue_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/issues/1","number":1,"state":"closed","locked":false,"title":"FIX: prop() type detection & support for schema plugins","user":{"login":"mfulop","id":10784877,"node_id":"MDQ6VXNlcjEwNzg0ODc3","avatar_url":"https://avatars3.githubusercontent.com/u/10784877?v=4","gravatar_id":"","url":"https://api.github.com/users/mfulop","html_url":"https://github.com/mfulop","followers_url":"https://api.github.com/users/mfulop/followers","following_url":"https://api.github.com/users/mfulop/following{/other_user}","gists_url":"https://api.github.com/users/mfulop/gists{/gist_id}","starred_url":"https://api.github.com/users/mfulop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfulop/subscriptions","organizations_url":"https://api.github.com/users/mfulop/orgs","repos_url":"https://api.github.com/users/mfulop/repos","events_url":"https://api.github.com/users/mfulop/events{/privacy}","received_events_url":"https://api.github.com/users/mfulop/received_events","type":"User","site_admin":false},"body":"FIX: prop() did not consider options.type if type and pathSchema.type were both undefined\r\n\r\n(type || pathSchema.type) = undefined shadowed any existing options.type resulting in missing path type even if options.type was defined","created_at":"2019-03-25T23:55:20Z","updated_at":"2019-03-26T08:57:09Z","closed_at":"2019-03-26T08:57:09Z","merged_at":"2019-03-26T08:57:09Z","merge_commit_sha":"d1746d9ef0bf09e6b866bf6b8c68edacb0f24d46","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/pulls/1/commits","review_comments_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/pulls/1/comments","review_comment_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/issues/1/comments","statuses_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/statuses/56b96bb13b7c347d926d0b7ee9b7e28368026545","head":{"label":"mfulop:master","ref":"master","sha":"56b96bb13b7c347d926d0b7ee9b7e28368026545","user":{"login":"mfulop","id":10784877,"node_id":"MDQ6VXNlcjEwNzg0ODc3","avatar_url":"https://avatars3.githubusercontent.com/u/10784877?v=4","gravatar_id":"","url":"https://api.github.com/users/mfulop","html_url":"https://github.com/mfulop","followers_url":"https://api.github.com/users/mfulop/followers","following_url":"https://api.github.com/users/mfulop/following{/other_user}","gists_url":"https://api.github.com/users/mfulop/gists{/gist_id}","starred_url":"https://api.github.com/users/mfulop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfulop/subscriptions","organizations_url":"https://api.github.com/users/mfulop/orgs","repos_url":"https://api.github.com/users/mfulop/repos","events_url":"https://api.github.com/users/mfulop/events{/privacy}","received_events_url":"https://api.github.com/users/mfulop/received_events","type":"User","site_admin":false},"repo":{"id":177674631,"node_id":"MDEwOlJlcG9zaXRvcnkxNzc2NzQ2MzE=","name":"mongoose-typescript","full_name":"mfulop/mongoose-typescript","private":false,"owner":{"login":"mfulop","id":10784877,"node_id":"MDQ6VXNlcjEwNzg0ODc3","avatar_url":"https://avatars3.githubusercontent.com/u/10784877?v=4","gravatar_id":"","url":"https://api.github.com/users/mfulop","html_url":"https://github.com/mfulop","followers_url":"https://api.github.com/users/mfulop/followers","following_url":"https://api.github.com/users/mfulop/following{/other_user}","gists_url":"https://api.github.com/users/mfulop/gists{/gist_id}","starred_url":"https://api.github.com/users/mfulop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfulop/subscriptions","organizations_url":"https://api.github.com/users/mfulop/orgs","repos_url":"https://api.github.com/users/mfulop/repos","events_url":"https://api.github.com/users/mfulop/events{/privacy}","received_events_url":"https://api.github.com/users/mfulop/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mfulop/mongoose-typescript","description":"Build mongoose schema with typescript and decorator","fork":true,"url":"https://api.github.com/repos/mfulop/mongoose-typescript","forks_url":"https://api.github.com/repos/mfulop/mongoose-typescript/forks","keys_url":"https://api.github.com/repos/mfulop/mongoose-typescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfulop/mongoose-typescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfulop/mongoose-typescript/teams","hooks_url":"https://api.github.com/repos/mfulop/mongoose-typescript/hooks","issue_events_url":"https://api.github.com/repos/mfulop/mongoose-typescript/issues/events{/number}","events_url":"https://api.github.com/repos/mfulop/mongoose-typescript/events","assignees_url":"https://api.github.com/repos/mfulop/mongoose-typescript/assignees{/user}","branches_url":"https://api.github.com/repos/mfulop/mongoose-typescript/branches{/branch}","tags_url":"https://api.github.com/repos/mfulop/mongoose-typescript/tags","blobs_url":"https://api.github.com/repos/mfulop/mongoose-typescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfulop/mongoose-typescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfulop/mongoose-typescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfulop/mongoose-typescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfulop/mongoose-typescript/statuses/{sha}","languages_url":"https://api.github.com/repos/mfulop/mongoose-typescript/languages","stargazers_url":"https://api.github.com/repos/mfulop/mongoose-typescript/stargazers","contributors_url":"https://api.github.com/repos/mfulop/mongoose-typescript/contributors","subscribers_url":"https://api.github.com/repos/mfulop/mongoose-typescript/subscribers","subscription_url":"https://api.github.com/repos/mfulop/mongoose-typescript/subscription","commits_url":"https://api.github.com/repos/mfulop/mongoose-typescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfulop/mongoose-typescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfulop/mongoose-typescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfulop/mongoose-typescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfulop/mongoose-typescript/contents/{+path}","compare_url":"https://api.github.com/repos/mfulop/mongoose-typescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfulop/mongoose-typescript/merges","archive_url":"https://api.github.com/repos/mfulop/mongoose-typescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfulop/mongoose-typescript/downloads","issues_url":"https://api.github.com/repos/mfulop/mongoose-typescript/issues{/number}","pulls_url":"https://api.github.com/repos/mfulop/mongoose-typescript/pulls{/number}","milestones_url":"https://api.github.com/repos/mfulop/mongoose-typescript/milestones{/number}","notifications_url":"https://api.github.com/repos/mfulop/mongoose-typescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfulop/mongoose-typescript/labels{/name}","releases_url":"https://api.github.com/repos/mfulop/mongoose-typescript/releases{/id}","deployments_url":"https://api.github.com/repos/mfulop/mongoose-typescript/deployments","created_at":"2019-03-25T22:32:49Z","updated_at":"2019-03-26T08:05:28Z","pushed_at":"2019-03-26T08:05:27Z","git_url":"git://github.com/mfulop/mongoose-typescript.git","ssh_url":"git@github.com:mfulop/mongoose-typescript.git","clone_url":"https://github.com/mfulop/mongoose-typescript.git","svn_url":"https://github.com/mfulop/mongoose-typescript","homepage":"https://www.npmjs.com/package/mongoose-typescript","size":195,"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,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bangbang93:master","ref":"master","sha":"16349f392bc0b61d2fc429ed4be645f32fff32d8","user":{"login":"bangbang93","id":3430784,"node_id":"MDQ6VXNlcjM0MzA3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3430784?v=4","gravatar_id":"","url":"https://api.github.com/users/bangbang93","html_url":"https://github.com/bangbang93","followers_url":"https://api.github.com/users/bangbang93/followers","following_url":"https://api.github.com/users/bangbang93/following{/other_user}","gists_url":"https://api.github.com/users/bangbang93/gists{/gist_id}","starred_url":"https://api.github.com/users/bangbang93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangbang93/subscriptions","organizations_url":"https://api.github.com/users/bangbang93/orgs","repos_url":"https://api.github.com/users/bangbang93/repos","events_url":"https://api.github.com/users/bangbang93/events{/privacy}","received_events_url":"https://api.github.com/users/bangbang93/received_events","type":"User","site_admin":false},"repo":{"id":156641300,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY2NDEzMDA=","name":"mongoose-typescript","full_name":"bangbang93/mongoose-typescript","private":false,"owner":{"login":"bangbang93","id":3430784,"node_id":"MDQ6VXNlcjM0MzA3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3430784?v=4","gravatar_id":"","url":"https://api.github.com/users/bangbang93","html_url":"https://github.com/bangbang93","followers_url":"https://api.github.com/users/bangbang93/followers","following_url":"https://api.github.com/users/bangbang93/following{/other_user}","gists_url":"https://api.github.com/users/bangbang93/gists{/gist_id}","starred_url":"https://api.github.com/users/bangbang93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangbang93/subscriptions","organizations_url":"https://api.github.com/users/bangbang93/orgs","repos_url":"https://api.github.com/users/bangbang93/repos","events_url":"https://api.github.com/users/bangbang93/events{/privacy}","received_events_url":"https://api.github.com/users/bangbang93/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bangbang93/mongoose-typescript","description":"Build mongoose schema with typescript and decorator","fork":false,"url":"https://api.github.com/repos/bangbang93/mongoose-typescript","forks_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/forks","keys_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/teams","hooks_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/hooks","issue_events_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/issues/events{/number}","events_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/events","assignees_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/assignees{/user}","branches_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/branches{/branch}","tags_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/tags","blobs_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/statuses/{sha}","languages_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/languages","stargazers_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/stargazers","contributors_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/contributors","subscribers_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/subscribers","subscription_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/subscription","commits_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/contents/{+path}","compare_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/merges","archive_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/downloads","issues_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/issues{/number}","pulls_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/pulls{/number}","milestones_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/milestones{/number}","notifications_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/labels{/name}","releases_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/releases{/id}","deployments_url":"https://api.github.com/repos/bangbang93/mongoose-typescript/deployments","created_at":"2018-11-08T02:52:41Z","updated_at":"2019-03-26T08:18:16Z","pushed_at":"2019-03-26T08:57:09Z","git_url":"git://github.com/bangbang93/mongoose-typescript.git","ssh_url":"git@github.com:bangbang93/mongoose-typescript.git","clone_url":"https://github.com/bangbang93/mongoose-typescript.git","svn_url":"https://github.com/bangbang93/mongoose-typescript","homepage":"https://www.npmjs.com/package/mongoose-typescript","size":193,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bangbang93/mongoose-typescript/pulls/1"},"html":{"href":"https://github.com/bangbang93/mongoose-typescript/pull/1"},"issue":{"href":"https://api.github.com/repos/bangbang93/mongoose-typescript/issues/1"},"comments":{"href":"https://api.github.com/repos/bangbang93/mongoose-typescript/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/bangbang93/mongoose-typescript/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/bangbang93/mongoose-typescript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bangbang93/mongoose-typescript/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/bangbang93/mongoose-typescript/statuses/56b96bb13b7c347d926d0b7ee9b7e28368026545"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"bangbang93","id":3430784,"node_id":"MDQ6VXNlcjM0MzA3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3430784?v=4","gravatar_id":"","url":"https://api.github.com/users/bangbang93","html_url":"https://github.com/bangbang93","followers_url":"https://api.github.com/users/bangbang93/followers","following_url":"https://api.github.com/users/bangbang93/following{/other_user}","gists_url":"https://api.github.com/users/bangbang93/gists{/gist_id}","starred_url":"https://api.github.com/users/bangbang93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangbang93/subscriptions","organizations_url":"https://api.github.com/users/bangbang93/orgs","repos_url":"https://api.github.com/users/bangbang93/repos","events_url":"https://api.github.com/users/bangbang93/events{/privacy}","received_events_url":"https://api.github.com/users/bangbang93/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":36,"deletions":6,"changed_files":7}}
other: {"actor":{"display_login":"bangbang93"}}