{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/11666","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/11666/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/11666/comments","events_url":"https://api.github.com/repos/angular/angular/issues/11666/events","html_url":"https://github.com/angular/angular/issues/11666","id":177455195,"number":11666,"title":"Inputs and Outputs shadowing not consistent","user":{"login":"pkozlowski-opensource","id":973550,"avatar_url":"https://avatars.githubusercontent.com/u/973550?v=3","gravatar_id":"","url":"https://api.github.com/users/pkozlowski-opensource","html_url":"https://github.com/pkozlowski-opensource","followers_url":"https://api.github.com/users/pkozlowski-opensource/followers","following_url":"https://api.github.com/users/pkozlowski-opensource/following{/other_user}","gists_url":"https://api.github.com/users/pkozlowski-opensource/gists{/gist_id}","starred_url":"https://api.github.com/users/pkozlowski-opensource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkozlowski-opensource/subscriptions","organizations_url":"https://api.github.com/users/pkozlowski-opensource/orgs","repos_url":"https://api.github.com/users/pkozlowski-opensource/repos","events_url":"https://api.github.com/users/pkozlowski-opensource/events{/privacy}","received_events_url":"https://api.github.com/users/pkozlowski-opensource/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20core%20&%20compiler","name":"comp: core & compiler","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular/labels/type:%20RFC%20/%20discussion%20/%20question","name":"type: RFC / discussion / question","color":"EEEEEE"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-16T15:32:45Z","updated_at":"2016-10-11T15:05:49Z","closed_at":"2016-10-11T15:05:49Z","body":"Currently having an `@Input` on a directive / component with the same as a native property name will shadow input binding (that it, a directive will get the bound value, not the native element). Apparently different rules apply to `@Output`s.\r\n\r\nIn this plunker https://plnkr.co/edit/TDCsPTWeRvgALildXmkt?p=preview there is a component with the `change` output. It turns out that adding `(change)` event handler to this component will pick up bubbling `chnage` events which I find surprising / inconsistent with rules in place for `@Input`s.\r\n\r\nI wonder if the the current behavior is correct and steams from the conscious design decision? Or rather a side effect of the existing implementation?"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/252944853","html_url":"https://github.com/angular/angular/issues/11666#issuecomment-252944853","issue_url":"https://api.github.com/repos/angular/angular/issues/11666","id":252944853,"user":{"login":"pkozlowski-opensource","id":973550,"avatar_url":"https://avatars.githubusercontent.com/u/973550?v=3","gravatar_id":"","url":"https://api.github.com/users/pkozlowski-opensource","html_url":"https://github.com/pkozlowski-opensource","followers_url":"https://api.github.com/users/pkozlowski-opensource/followers","following_url":"https://api.github.com/users/pkozlowski-opensource/following{/other_user}","gists_url":"https://api.github.com/users/pkozlowski-opensource/gists{/gist_id}","starred_url":"https://api.github.com/users/pkozlowski-opensource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkozlowski-opensource/subscriptions","organizations_url":"https://api.github.com/users/pkozlowski-opensource/orgs","repos_url":"https://api.github.com/users/pkozlowski-opensource/repos","events_url":"https://api.github.com/users/pkozlowski-opensource/events{/privacy}","received_events_url":"https://api.github.com/users/pkozlowski-opensource/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T15:05:49Z","updated_at":"2016-10-11T15:05:49Z","body":"Yes, this is the same as #4059, closing as a duplicate."}}
{"actor":{"display_login":"pkozlowski-opensource"}}