{"action":"opened","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/270","repository_url":"https://api.github.com/repos/OrchardCMS/Orchard2","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/270/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/270/events","html_url":"https://github.com/OrchardCMS/Orchard2/issues/270","id":181795463,"number":270,"title":"Analyze IContentHandler vs IContentPartDriver","user":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars.githubusercontent.com/u/1165805?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-08T01:20:49Z","updated_at":"2016-10-08T01:20:49Z","closed_at":null,"body":"Currently `ContentPartDriver<T>` implements `IContentHandler` so it's probable that if a component is registered as both it will be called twice.\r\n\r\nThis is because `IContentPartDriver` doesn't care about all the events from `IContentHandler`. Also all `ContentPartDriver<T>` will be evaluated for a content item.\r\n\r\nThis could be optimized if the driver was registered using generic interface, this way we could have a coordinator implementing IContentHandler that would resolve only the driver for the parts of the current content item.\r\n"}}
{"actor":{"display_login":"sebastienros"}}