{"action":"created","issue":{"url":"https://api.github.com/repos/pallets/flask/issues/221","repository_url":"https://api.github.com/repos/pallets/flask","labels_url":"https://api.github.com/repos/pallets/flask/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/pallets/flask/issues/221/comments","events_url":"https://api.github.com/repos/pallets/flask/issues/221/events","html_url":"https://github.com/pallets/flask/issues/221","id":787759,"number":221,"title":"Subclassing of Flask should be documented","user":{"login":"dag","id":319,"avatar_url":"https://avatars.githubusercontent.com/u/319?v=3","gravatar_id":"","url":"https://api.github.com/users/dag","html_url":"https://github.com/dag","followers_url":"https://api.github.com/users/dag/followers","following_url":"https://api.github.com/users/dag/following{/other_user}","gists_url":"https://api.github.com/users/dag/gists{/gist_id}","starred_url":"https://api.github.com/users/dag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dag/subscriptions","organizations_url":"https://api.github.com/users/dag/orgs","repos_url":"https://api.github.com/users/dag/repos","events_url":"https://api.github.com/users/dag/events{/privacy}","received_events_url":"https://api.github.com/users/dag/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pallets/flask/labels/docs","name":"docs","color":"ded63c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2011-04-19T08:43:40Z","updated_at":"2016-06-03T15:45:32Z","closed_at":null,"body":"* It should be made clear that for some problems (such as a custom Jinja environment), subclassing is *the* solution and Flask is explicitly designed for it.\r\n* Some examples and best-practices would be helpful, maybe as a 'pattern'. How to extend rather than replace the defaults, how to deal with immutable containers etc.\r\n* The reasons for the need to subclass, and the design choice of immutable containers, could be explained and defended. (Needed at construction time?)\r\n\r\nOn IRC, questions for which subclassing is the answer, are not uncommon, and at the same time few realize that you can and *should* do this for some things, and they're often confused as to *how* it's properly done.\r\n\r\nIf I find the energy I might try to draft some of the above."},"comment":{"url":"https://api.github.com/repos/pallets/flask/issues/comments/223615439","html_url":"https://github.com/pallets/flask/issues/221#issuecomment-223615439","issue_url":"https://api.github.com/repos/pallets/flask/issues/221","id":223615439,"user":{"login":"antsar","id":2976310,"avatar_url":"https://avatars.githubusercontent.com/u/2976310?v=3","gravatar_id":"","url":"https://api.github.com/users/antsar","html_url":"https://github.com/antsar","followers_url":"https://api.github.com/users/antsar/followers","following_url":"https://api.github.com/users/antsar/following{/other_user}","gists_url":"https://api.github.com/users/antsar/gists{/gist_id}","starred_url":"https://api.github.com/users/antsar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antsar/subscriptions","organizations_url":"https://api.github.com/users/antsar/orgs","repos_url":"https://api.github.com/users/antsar/repos","events_url":"https://api.github.com/users/antsar/events{/privacy}","received_events_url":"https://api.github.com/users/antsar/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T15:45:32Z","updated_at":"2016-06-03T15:45:32Z","body":"I believe this can be closed, see PR #1868"}}
{"actor":{"display_login":"antsar"}}