payload: {"action":"closed","number":220,"pull_request":{"url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls/220","id":265223914,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY1MjIzOTE0","html_url":"https://github.com/tsukuyomi-rs/tsukuyomi/pull/220","diff_url":"https://github.com/tsukuyomi-rs/tsukuyomi/pull/220.diff","patch_url":"https://github.com/tsukuyomi-rs/tsukuyomi/pull/220.patch","issue_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues/220","number":220,"state":"closed","locked":false,"title":"switch to the new App API: Take1","user":{"login":"ubnt-intrepid","id":7354350,"node_id":"MDQ6VXNlcjczNTQzNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/7354350?v=4","gravatar_id":"","url":"https://api.github.com/users/ubnt-intrepid","html_url":"https://github.com/ubnt-intrepid","followers_url":"https://api.github.com/users/ubnt-intrepid/followers","following_url":"https://api.github.com/users/ubnt-intrepid/following{/other_user}","gists_url":"https://api.github.com/users/ubnt-intrepid/gists{/gist_id}","starred_url":"https://api.github.com/users/ubnt-intrepid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubnt-intrepid/subscriptions","organizations_url":"https://api.github.com/users/ubnt-intrepid/orgs","repos_url":"https://api.github.com/users/ubnt-intrepid/repos","events_url":"https://api.github.com/users/ubnt-intrepid/events{/privacy}","received_events_url":"https://api.github.com/users/ubnt-intrepid/received_events","type":"User","site_admin":false},"body":"The goal is to introduce the new API for building `App` so that it is easy to understand, and to resolve the following problems that the current API has:\r\n\r\n* The current API using `Config` as a top-level abstraction is *overly* inclined to making Web application as *configurable* components.  There are actually *no* benefits to this approach, and instead, it became imperative to understand the extra helpers, even when writing *simple* applications.\r\n* By using `Config` as a top-level abstraction of Web application written by the user, the information gained from the compile error became significantly reduced. The user needs to identify the wrong line based on only the information like `<...> doesn't implement Config<(), C>`. This is *obviously* lacking of ergonomics.\r\n\r\nThis PR adds the template of new API and deprecates the existing API. However, the old API might be removed before releasing 0.6.0.","created_at":"2019-03-28T08:04:42Z","updated_at":"2019-03-28T18:37:39Z","closed_at":"2019-03-28T18:37:38Z","merged_at":"2019-03-28T18:37:38Z","merge_commit_sha":"d975243539b9892de0219bef1f17e4e33626fd87","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls/220/commits","review_comments_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls/220/comments","review_comment_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues/220/comments","statuses_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/statuses/6519fda40a0fd4841b1c0f566423f7c9385f143d","head":{"label":"tsukuyomi-rs:new-api","ref":"new-api","sha":"6519fda40a0fd4841b1c0f566423f7c9385f143d","user":{"login":"tsukuyomi-rs","id":41195951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTk1OTUx","avatar_url":"https://avatars2.githubusercontent.com/u/41195951?v=4","gravatar_id":"","url":"https://api.github.com/users/tsukuyomi-rs","html_url":"https://github.com/tsukuyomi-rs","followers_url":"https://api.github.com/users/tsukuyomi-rs/followers","following_url":"https://api.github.com/users/tsukuyomi-rs/following{/other_user}","gists_url":"https://api.github.com/users/tsukuyomi-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/tsukuyomi-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsukuyomi-rs/subscriptions","organizations_url":"https://api.github.com/users/tsukuyomi-rs/orgs","repos_url":"https://api.github.com/users/tsukuyomi-rs/repos","events_url":"https://api.github.com/users/tsukuyomi-rs/events{/privacy}","received_events_url":"https://api.github.com/users/tsukuyomi-rs/received_events","type":"Organization","site_admin":false},"repo":{"id":136308610,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYzMDg2MTA=","name":"tsukuyomi","full_name":"tsukuyomi-rs/tsukuyomi","private":false,"owner":{"login":"tsukuyomi-rs","id":41195951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTk1OTUx","avatar_url":"https://avatars2.githubusercontent.com/u/41195951?v=4","gravatar_id":"","url":"https://api.github.com/users/tsukuyomi-rs","html_url":"https://github.com/tsukuyomi-rs","followers_url":"https://api.github.com/users/tsukuyomi-rs/followers","following_url":"https://api.github.com/users/tsukuyomi-rs/following{/other_user}","gists_url":"https://api.github.com/users/tsukuyomi-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/tsukuyomi-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsukuyomi-rs/subscriptions","organizations_url":"https://api.github.com/users/tsukuyomi-rs/orgs","repos_url":"https://api.github.com/users/tsukuyomi-rs/repos","events_url":"https://api.github.com/users/tsukuyomi-rs/events{/privacy}","received_events_url":"https://api.github.com/users/tsukuyomi-rs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tsukuyomi-rs/tsukuyomi","description":"Asynchronous Web framework for Rust","fork":false,"url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi","forks_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/forks","keys_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/teams","hooks_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/hooks","issue_events_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues/events{/number}","events_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/events","assignees_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/assignees{/user}","branches_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/branches{/branch}","tags_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/tags","blobs_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/statuses/{sha}","languages_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/languages","stargazers_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/stargazers","contributors_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/contributors","subscribers_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/subscribers","subscription_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/subscription","commits_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/contents/{+path}","compare_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/merges","archive_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/downloads","issues_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues{/number}","pulls_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls{/number}","milestones_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/milestones{/number}","notifications_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/labels{/name}","releases_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/releases{/id}","deployments_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/deployments","created_at":"2018-06-06T09:51:59Z","updated_at":"2019-03-27T05:31:14Z","pushed_at":"2019-03-28T18:37:38Z","git_url":"git://github.com/tsukuyomi-rs/tsukuyomi.git","ssh_url":"git@github.com:tsukuyomi-rs/tsukuyomi.git","clone_url":"https://github.com/tsukuyomi-rs/tsukuyomi.git","svn_url":"https://github.com/tsukuyomi-rs/tsukuyomi","homepage":"https://tsukuyomi-rs.github.io/tsukuyomi","size":3920,"stargazers_count":52,"watchers_count":52,"language":"Rust","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":7,"watchers":52,"default_branch":"master"}},"base":{"label":"tsukuyomi-rs:master","ref":"master","sha":"ee6740d3f72d2935ed40a56de74ef12e0b4d9163","user":{"login":"tsukuyomi-rs","id":41195951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTk1OTUx","avatar_url":"https://avatars2.githubusercontent.com/u/41195951?v=4","gravatar_id":"","url":"https://api.github.com/users/tsukuyomi-rs","html_url":"https://github.com/tsukuyomi-rs","followers_url":"https://api.github.com/users/tsukuyomi-rs/followers","following_url":"https://api.github.com/users/tsukuyomi-rs/following{/other_user}","gists_url":"https://api.github.com/users/tsukuyomi-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/tsukuyomi-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsukuyomi-rs/subscriptions","organizations_url":"https://api.github.com/users/tsukuyomi-rs/orgs","repos_url":"https://api.github.com/users/tsukuyomi-rs/repos","events_url":"https://api.github.com/users/tsukuyomi-rs/events{/privacy}","received_events_url":"https://api.github.com/users/tsukuyomi-rs/received_events","type":"Organization","site_admin":false},"repo":{"id":136308610,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYzMDg2MTA=","name":"tsukuyomi","full_name":"tsukuyomi-rs/tsukuyomi","private":false,"owner":{"login":"tsukuyomi-rs","id":41195951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTk1OTUx","avatar_url":"https://avatars2.githubusercontent.com/u/41195951?v=4","gravatar_id":"","url":"https://api.github.com/users/tsukuyomi-rs","html_url":"https://github.com/tsukuyomi-rs","followers_url":"https://api.github.com/users/tsukuyomi-rs/followers","following_url":"https://api.github.com/users/tsukuyomi-rs/following{/other_user}","gists_url":"https://api.github.com/users/tsukuyomi-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/tsukuyomi-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsukuyomi-rs/subscriptions","organizations_url":"https://api.github.com/users/tsukuyomi-rs/orgs","repos_url":"https://api.github.com/users/tsukuyomi-rs/repos","events_url":"https://api.github.com/users/tsukuyomi-rs/events{/privacy}","received_events_url":"https://api.github.com/users/tsukuyomi-rs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tsukuyomi-rs/tsukuyomi","description":"Asynchronous Web framework for Rust","fork":false,"url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi","forks_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/forks","keys_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/teams","hooks_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/hooks","issue_events_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues/events{/number}","events_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/events","assignees_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/assignees{/user}","branches_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/branches{/branch}","tags_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/tags","blobs_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/statuses/{sha}","languages_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/languages","stargazers_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/stargazers","contributors_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/contributors","subscribers_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/subscribers","subscription_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/subscription","commits_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/contents/{+path}","compare_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/merges","archive_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/downloads","issues_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues{/number}","pulls_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls{/number}","milestones_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/milestones{/number}","notifications_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/labels{/name}","releases_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/releases{/id}","deployments_url":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/deployments","created_at":"2018-06-06T09:51:59Z","updated_at":"2019-03-27T05:31:14Z","pushed_at":"2019-03-28T18:37:38Z","git_url":"git://github.com/tsukuyomi-rs/tsukuyomi.git","ssh_url":"git@github.com:tsukuyomi-rs/tsukuyomi.git","clone_url":"https://github.com/tsukuyomi-rs/tsukuyomi.git","svn_url":"https://github.com/tsukuyomi-rs/tsukuyomi","homepage":"https://tsukuyomi-rs.github.io/tsukuyomi","size":3920,"stargazers_count":52,"watchers_count":52,"language":"Rust","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":7,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls/220"},"html":{"href":"https://github.com/tsukuyomi-rs/tsukuyomi/pull/220"},"issue":{"href":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues/220"},"comments":{"href":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/issues/220/comments"},"review_comments":{"href":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls/220/comments"},"review_comment":{"href":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/pulls/220/commits"},"statuses":{"href":"https://api.github.com/repos/tsukuyomi-rs/tsukuyomi/statuses/6519fda40a0fd4841b1c0f566423f7c9385f143d"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ubnt-intrepid","id":7354350,"node_id":"MDQ6VXNlcjczNTQzNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/7354350?v=4","gravatar_id":"","url":"https://api.github.com/users/ubnt-intrepid","html_url":"https://github.com/ubnt-intrepid","followers_url":"https://api.github.com/users/ubnt-intrepid/followers","following_url":"https://api.github.com/users/ubnt-intrepid/following{/other_user}","gists_url":"https://api.github.com/users/ubnt-intrepid/gists{/gist_id}","starred_url":"https://api.github.com/users/ubnt-intrepid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubnt-intrepid/subscriptions","organizations_url":"https://api.github.com/users/ubnt-intrepid/orgs","repos_url":"https://api.github.com/users/ubnt-intrepid/repos","events_url":"https://api.github.com/users/ubnt-intrepid/events{/privacy}","received_events_url":"https://api.github.com/users/ubnt-intrepid/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":881,"deletions":548,"changed_files":29}}
other: {"actor":{"display_login":"ubnt-intrepid"}}