{"action":"created","issue":{"url":"https://api.github.com/repos/collective/plone.jsonapi.core/issues/22","labels_url":"https://api.github.com/repos/collective/plone.jsonapi.core/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/collective/plone.jsonapi.core/issues/22/comments","events_url":"https://api.github.com/repos/collective/plone.jsonapi.core/issues/22/events","html_url":"https://github.com/collective/plone.jsonapi.core/issues/22","id":121209913,"number":22,"title":"initialize() really needed?","user":{"login":"zopyx","id":594239,"avatar_url":"https://avatars.githubusercontent.com/u/594239?v=3","gravatar_id":"","url":"https://api.github.com/users/zopyx","html_url":"https://github.com/zopyx","followers_url":"https://api.github.com/users/zopyx/followers","following_url":"https://api.github.com/users/zopyx/following{/other_user}","gists_url":"https://api.github.com/users/zopyx/gists{/gist_id}","starred_url":"https://api.github.com/users/zopyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zopyx/subscriptions","organizations_url":"https://api.github.com/users/zopyx/orgs","repos_url":"https://api.github.com/users/zopyx/repos","events_url":"https://api.github.com/users/zopyx/events{/privacy}","received_events_url":"https://api.github.com/users/zopyx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/collective/plone.jsonapi.core/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-09T10:48:17Z","updated_at":"2015-12-09T15:32:40Z","closed_at":null,"body":"What is the exact purpose of the initialize() method of an IRouteProvider?\r\nWhy isn't it called __init__() similar to BrowserViews? Ok, I can initialize a route provider with request + context but the api methods still require context + request as function parameter...does not make much sense to me. The provider should be initialized once and the api methods should use self.request and self.context instead."},"comment":{"url":"https://api.github.com/repos/collective/plone.jsonapi.core/issues/comments/163293540","html_url":"https://github.com/collective/plone.jsonapi.core/issues/22#issuecomment-163293540","issue_url":"https://api.github.com/repos/collective/plone.jsonapi.core/issues/22","id":163293540,"user":{"login":"ramonski","id":713193,"avatar_url":"https://avatars.githubusercontent.com/u/713193?v=3","gravatar_id":"","url":"https://api.github.com/users/ramonski","html_url":"https://github.com/ramonski","followers_url":"https://api.github.com/users/ramonski/followers","following_url":"https://api.github.com/users/ramonski/following{/other_user}","gists_url":"https://api.github.com/users/ramonski/gists{/gist_id}","starred_url":"https://api.github.com/users/ramonski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramonski/subscriptions","organizations_url":"https://api.github.com/users/ramonski/orgs","repos_url":"https://api.github.com/users/ramonski/repos","events_url":"https://api.github.com/users/ramonski/events{/privacy}","received_events_url":"https://api.github.com/users/ramonski/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T15:32:40Z","updated_at":"2015-12-09T15:32:40Z","body":"@do3cc thanks for the detailed description. I think I got the point and will try to take care of the issues you mentioned for the next version. Anyhow, if someone likes to give me a helping hand with this, he/she is welcome!"}}