{"action":"created","issue":{"url":"https://api.github.com/repos/benmerckx/monsoon/issues/4","repository_url":"https://api.github.com/repos/benmerckx/monsoon","labels_url":"https://api.github.com/repos/benmerckx/monsoon/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/benmerckx/monsoon/issues/4/comments","events_url":"https://api.github.com/repos/benmerckx/monsoon/issues/4/events","html_url":"https://github.com/benmerckx/monsoon/issues/4","id":154941534,"number":4,"title":"A bit restricting Middleware interface?","user":{"login":"ciscoheat","id":130450,"avatar_url":"https://avatars.githubusercontent.com/u/130450?v=3","gravatar_id":"","url":"https://api.github.com/users/ciscoheat","html_url":"https://github.com/ciscoheat","followers_url":"https://api.github.com/users/ciscoheat/followers","following_url":"https://api.github.com/users/ciscoheat/following{/other_user}","gists_url":"https://api.github.com/users/ciscoheat/gists{/gist_id}","starred_url":"https://api.github.com/users/ciscoheat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciscoheat/subscriptions","organizations_url":"https://api.github.com/users/ciscoheat/orgs","repos_url":"https://api.github.com/users/ciscoheat/repos","events_url":"https://api.github.com/users/ciscoheat/events{/privacy}","received_events_url":"https://api.github.com/users/ciscoheat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-16T00:34:19Z","updated_at":"2016-05-16T23:45:45Z","closed_at":null,"body":"Hi, this looks great, can't wait to try monsoon for the next project! Only one thing, would it be possible to have a middleware interface like the `process` method you have in two of the bundled ones? In case you don't want the constructor restricted, and don't need to use the router.\r\n"},"comment":{"url":"https://api.github.com/repos/benmerckx/monsoon/issues/comments/219581110","html_url":"https://github.com/benmerckx/monsoon/issues/4#issuecomment-219581110","issue_url":"https://api.github.com/repos/benmerckx/monsoon/issues/4","id":219581110,"user":{"login":"ciscoheat","id":130450,"avatar_url":"https://avatars.githubusercontent.com/u/130450?v=3","gravatar_id":"","url":"https://api.github.com/users/ciscoheat","html_url":"https://github.com/ciscoheat","followers_url":"https://api.github.com/users/ciscoheat/followers","following_url":"https://api.github.com/users/ciscoheat/following{/other_user}","gists_url":"https://api.github.com/users/ciscoheat/gists{/gist_id}","starred_url":"https://api.github.com/users/ciscoheat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciscoheat/subscriptions","organizations_url":"https://api.github.com/users/ciscoheat/orgs","repos_url":"https://api.github.com/users/ciscoheat/repos","events_url":"https://api.github.com/users/ciscoheat/events{/privacy}","received_events_url":"https://api.github.com/users/ciscoheat/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T23:45:45Z","updated_at":"2016-05-16T23:45:45Z","body":"I had those typedefs in mind originally, just got thinking about whether it's possible to make it even simpler. Many of the examples you've made uses anonymous functions, so could it be an idea to keep doing that even for extensions?\r\n\r\nTotally agree with Controller having a diffuse meaning nowadays! Have you read my Rediscovering MVC article? https://github.com/ciscoheat/mithril-hx/wiki/Rediscovering-MVC"}}