{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular/issues/2398","labels_url":"https://api.github.com/repos/angular/angular/issues/2398/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/2398/comments","events_url":"https://api.github.com/repos/angular/angular/issues/2398/events","html_url":"https://github.com/angular/angular/issues/2398","id":85753370,"number":2398,"title":"Question: |pipe:arg1:arg2 or |pipe(arg1, arg2)","user":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20core/change_detection","name":"comp: core/change_detection","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular/labels/effort1:%20easy%20(hour)","name":"effort1: easy (hour)","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular/labels/P3:%20important","name":"P3: important","color":"fef2c0"},{"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":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/36","html_url":"https://github.com/angular/angular/milestones/alpha-28","labels_url":"https://api.github.com/repos/angular/angular/milestones/36/labels","id":1140762,"number":36,"title":"alpha-28","description":"Next milestone. Work on all issues to complete by Monday June 22 @ 8am PT; sync internal/external by 24th.","creator":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":6,"state":"open","created_at":"2015-05-29T21:53:22Z","updated_at":"2015-06-10T10:35:25Z","due_on":"2015-06-24T07:00:00Z","closed_at":null},"comments":3,"created_at":"2015-06-06T13:33:42Z","updated_at":"2015-06-10T10:35:25Z","closed_at":"2015-06-10T10:35:25Z","body":"We had the debate back to ng.dart 1 and decided to keep the colon format.\r\n\r\nI'd like to revive the debate are pipes will probably be used more in n2.\r\n\r\nThere's a gotcha with the colon format:\r\n\r\n`subject | p1:arg | p2` is currently parsed as `subject | p1:(arg | p2)` - while you might want `(subject | p1:arg) | p2`\r\n\r\nSwitching to `()` can make resolving the ambiguity easier:\r\n\r\n`subject | p1(arg) | p2` and `subject | p1(arg | p2)`"}}