{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/10098","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/10098/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/10098/comments","events_url":"https://api.github.com/repos/angular/angular/issues/10098/events","html_url":"https://github.com/angular/angular/issues/10098","id":165889917,"node_id":"MDU6SXNzdWUxNjU4ODk5MTc=","number":10098,"title":"@ContentChildren can select host component as well","user":{"login":"jack-guy","id":957238,"node_id":"MDQ6VXNlcjk1NzIzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/957238?v=4","gravatar_id":"","url":"https://api.github.com/users/jack-guy","html_url":"https://github.com/jack-guy","followers_url":"https://api.github.com/users/jack-guy/followers","following_url":"https://api.github.com/users/jack-guy/following{/other_user}","gists_url":"https://api.github.com/users/jack-guy/gists{/gist_id}","starred_url":"https://api.github.com/users/jack-guy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jack-guy/subscriptions","organizations_url":"https://api.github.com/users/jack-guy/orgs","repos_url":"https://api.github.com/users/jack-guy/repos","events_url":"https://api.github.com/users/jack-guy/events{/privacy}","received_events_url":"https://api.github.com/users/jack-guy/received_events","type":"User","site_admin":false},"labels":[{"id":375501288,"node_id":"MDU6TGFiZWwzNzU1MDEyODg=","url":"https://api.github.com/repos/angular/angular/labels/comp:%20core%20&%20compiler","name":"comp: core & compiler","color":"c7def8","default":false},{"id":943969628,"node_id":"MDU6TGFiZWw5NDM5Njk2Mjg=","url":"https://api.github.com/repos/angular/angular/labels/fixed%20by%20Ivy","name":"fixed by Ivy","color":"0e8a16","default":false},{"id":375496864,"node_id":"MDU6TGFiZWwzNzU0OTY4NjQ=","url":"https://api.github.com/repos/angular/angular/labels/freq1:%20low","name":"freq1: low","color":"fbca04","default":false},{"id":375498203,"node_id":"MDU6TGFiZWwzNzU0OTgyMDM=","url":"https://api.github.com/repos/angular/angular/labels/severity3:%20broken","name":"severity3: broken","color":"0052cc","default":false},{"id":130606843,"node_id":"MDU6TGFiZWwxMzA2MDY4NDM=","url":"https://api.github.com/repos/angular/angular/labels/type:%20bug/fix","name":"type: bug/fix","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/82","html_url":"https://github.com/angular/angular/milestone/82","labels_url":"https://api.github.com/repos/angular/angular/milestones/82/labels","id":3045967,"node_id":"MDk6TWlsZXN0b25lMzA0NTk2Nw==","number":82,"title":"Backlog","description":"Milestone for triaged issues that have not yet been scheduled for resolution.","creator":{"login":"IgorMinar","id":216296,"node_id":"MDQ6VXNlcjIxNjI5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/216296?v=4","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":2125,"closed_issues":603,"state":"open","created_at":"2018-01-18T16:52:20Z","updated_at":"2018-12-16T16:27:23Z","due_on":null,"closed_at":null},"comments":25,"created_at":"2016-07-15T22:35:00Z","updated_at":"2018-12-17T00:00:22Z","closed_at":null,"author_association":"NONE","body":"**I'm submitting a ...**  (check one with \"x\")\n\n```\n[ x ] bug report\n[ ] feature request\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\n```\n\n**Current behavior**\n`@ContentChildren` will select the host component if the component selector matches it.\n\n```\n<foo the-root>\n   <foo></foo>\n   <foo></foo>\n   <foo></foo>\n</foo>\n```\n\nAnd for `the-root`\n\n```\n@ContentChildren(FooComponent) foos;\nassert(foos.length === 4);\n```\n\n**Expected/desired behavior**\nThe `foo` host component should not be selected.\n\n```\nassert(foos.length === 3);\n```\n\n**Reproduction of the problem**\nhttps://plnkr.co/edit/E7D0nMdHnPr0OxfxzysB?p=preview\n\n**What is the motivation / use case for changing the behavior?**\nSemantically, one would expect the selection of `@ContentChildren` to be only strict descendants.\n\n**Please tell us about your environment:**\n- **Angular version:** 2.0.0-rc.0\n- **Browser:** all\n- **Language:** all\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/447688611","html_url":"https://github.com/angular/angular/issues/10098#issuecomment-447688611","issue_url":"https://api.github.com/repos/angular/angular/issues/10098","id":447688611,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzY4ODYxMQ==","user":{"login":"mind0n","id":1991295,"node_id":"MDQ6VXNlcjE5OTEyOTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1991295?v=4","gravatar_id":"","url":"https://api.github.com/users/mind0n","html_url":"https://github.com/mind0n","followers_url":"https://api.github.com/users/mind0n/followers","following_url":"https://api.github.com/users/mind0n/following{/other_user}","gists_url":"https://api.github.com/users/mind0n/gists{/gist_id}","starred_url":"https://api.github.com/users/mind0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mind0n/subscriptions","organizations_url":"https://api.github.com/users/mind0n/orgs","repos_url":"https://api.github.com/users/mind0n/repos","events_url":"https://api.github.com/users/mind0n/events{/privacy}","received_events_url":"https://api.github.com/users/mind0n/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T00:00:22Z","updated_at":"2018-12-17T00:00:22Z","author_association":"NONE","body":"Hi guys,\r\n\r\nLooks like this bug still exists in the latest angular 7?  Who is going to fix this?\r\n\r\n"}}
{"actor":{"display_login":"mind0n"}}