{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/2902","labels_url":"https://api.github.com/repos/angular/angular/issues/2902/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/2902/comments","events_url":"https://api.github.com/repos/angular/angular/issues/2902/events","html_url":"https://github.com/angular/angular/issues/2902","id":93351467,"number":2902,"title":"Provide an easy way to create stateless pipes","user":{"login":"vsavkin","id":35996,"avatar_url":"https://avatars.githubusercontent.com/u/35996?v=3","gravatar_id":"","url":"https://api.github.com/users/vsavkin","html_url":"https://github.com/vsavkin","followers_url":"https://api.github.com/users/vsavkin/followers","following_url":"https://api.github.com/users/vsavkin/following{/other_user}","gists_url":"https://api.github.com/users/vsavkin/gists{/gist_id}","starred_url":"https://api.github.com/users/vsavkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsavkin/subscriptions","organizations_url":"https://api.github.com/users/vsavkin/orgs","repos_url":"https://api.github.com/users/vsavkin/repos","events_url":"https://api.github.com/users/vsavkin/events{/privacy}","received_events_url":"https://api.github.com/users/vsavkin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20core/pipes","name":"comp: core/pipes","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular/labels/effort2:%20medium%20(day)","name":"effort2: medium (day)","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular/labels/P2:%20required","name":"P2: required","color":"fad8c7"},{"url":"https://api.github.com/repos/angular/angular/labels/type:%20feature","name":"type: feature","color":"EEEEEE"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-06T19:01:00Z","updated_at":"2015-08-20T17:56:41Z","closed_at":"2015-08-20T17:56:41Z","body":"The pipes API is very flexible, which can be overwhelming when adding simple stateless pipes. We need to make it simpler.\r\n\r\nProposal:\r\n\r\n```\r\nclass MyPipe extends SimplePipe {\r\n  supports(obj) { return true; }\r\n  transform(a, args) {\r\n    \r\n  }\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/133098265","html_url":"https://github.com/angular/angular/issues/2902#issuecomment-133098265","issue_url":"https://api.github.com/repos/angular/angular/issues/2902","id":133098265,"user":{"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},"created_at":"2015-08-20T17:56:41Z","updated_at":"2015-08-20T17:56:41Z","body":"Closed by: 839edaa15b77a0b1e448f7a88c78f109a6b831fe"}}