{"action":"closed","issue":{"url":"https://api.github.com/repos/macchiato-framework/macchiato-core/issues/6","repository_url":"https://api.github.com/repos/macchiato-framework/macchiato-core","labels_url":"https://api.github.com/repos/macchiato-framework/macchiato-core/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/macchiato-framework/macchiato-core/issues/6/comments","events_url":"https://api.github.com/repos/macchiato-framework/macchiato-core/issues/6/events","html_url":"https://github.com/macchiato-framework/macchiato-core/issues/6","id":196244085,"number":6,"title":"middleware metadata","user":{"login":"yogthos","id":121208,"avatar_url":"https://avatars.githubusercontent.com/u/121208?v=3","gravatar_id":"","url":"https://api.github.com/users/yogthos","html_url":"https://github.com/yogthos","followers_url":"https://api.github.com/users/yogthos/followers","following_url":"https://api.github.com/users/yogthos/following{/other_user}","gists_url":"https://api.github.com/users/yogthos/gists{/gist_id}","starred_url":"https://api.github.com/users/yogthos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogthos/subscriptions","organizations_url":"https://api.github.com/users/yogthos/orgs","repos_url":"https://api.github.com/users/yogthos/repos","events_url":"https://api.github.com/users/yogthos/events{/privacy}","received_events_url":"https://api.github.com/users/yogthos/received_events","type":"User","site_admin":false},"labels":[{"id":490253178,"url":"https://api.github.com/repos/macchiato-framework/macchiato-core/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-12-17T21:32:49Z","updated_at":"2016-12-21T21:42:07Z","closed_at":"2016-12-21T21:42:07Z","body":"The handler should have metadata containing the information about all the middleware functions. Each middleware function should be responsible for adding itself to the list when it loads.\r\n\r\nThis will allow middleware to load selectively based on what middleware is already loaded. Main use case for this is to facilitate libraries that provide their own middleware stacks. Such libraries could check what middleware is already loaded and choose what to add based on that. "}}
{"actor":{"display_login":"yogthos"}}