{"action":"created","issue":{"url":"https://api.github.com/repos/johnpapa/angular-styleguide/issues/706","repository_url":"https://api.github.com/repos/johnpapa/angular-styleguide","labels_url":"https://api.github.com/repos/johnpapa/angular-styleguide/issues/706/labels{/name}","comments_url":"https://api.github.com/repos/johnpapa/angular-styleguide/issues/706/comments","events_url":"https://api.github.com/repos/johnpapa/angular-styleguide/issues/706/events","html_url":"https://github.com/johnpapa/angular-styleguide/issues/706","id":144042682,"number":706,"title":"Angular2 services and DTOs in one file","user":{"login":"damienbod","id":3442158,"avatar_url":"https://avatars.githubusercontent.com/u/3442158?v=3","gravatar_id":"","url":"https://api.github.com/users/damienbod","html_url":"https://github.com/damienbod","followers_url":"https://api.github.com/users/damienbod/followers","following_url":"https://api.github.com/users/damienbod/following{/other_user}","gists_url":"https://api.github.com/users/damienbod/gists{/gist_id}","starred_url":"https://api.github.com/users/damienbod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienbod/subscriptions","organizations_url":"https://api.github.com/users/damienbod/orgs","repos_url":"https://api.github.com/users/damienbod/repos","events_url":"https://api.github.com/users/damienbod/events{/privacy}","received_events_url":"https://api.github.com/users/damienbod/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/johnpapa/angular-styleguide/labels/Angular%202","name":"Angular 2","color":"0052cc"},{"url":"https://api.github.com/repos/johnpapa/angular-styleguide/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/johnpapa/angular-styleguide/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-28T18:13:37Z","updated_at":"2016-09-05T18:05:49Z","closed_at":"2016-09-05T18:05:49Z","body":"Thanks for this style guide. It's great.\r\n\r\nI was looking at this service:\r\nhttps://github.com/johnpapa/angular2-tour-of-heroes/blob/master/app/hero.service.ts\r\n\r\nDo you not think it would be better to split the DTOs and the service? I know this saves a line in a component when using the service. Maybe the recommended approach could be defined here.\r\n \r\nGreetings and thanks for the style guide Damien\r\n"},"comment":{"url":"https://api.github.com/repos/johnpapa/angular-styleguide/issues/comments/244793944","html_url":"https://github.com/johnpapa/angular-styleguide/issues/706#issuecomment-244793944","issue_url":"https://api.github.com/repos/johnpapa/angular-styleguide/issues/706","id":244793944,"user":{"login":"johnpapa","id":1202528,"avatar_url":"https://avatars.githubusercontent.com/u/1202528?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpapa","html_url":"https://github.com/johnpapa","followers_url":"https://api.github.com/users/johnpapa/followers","following_url":"https://api.github.com/users/johnpapa/following{/other_user}","gists_url":"https://api.github.com/users/johnpapa/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpapa/subscriptions","organizations_url":"https://api.github.com/users/johnpapa/orgs","repos_url":"https://api.github.com/users/johnpapa/repos","events_url":"https://api.github.com/users/johnpapa/events{/privacy}","received_events_url":"https://api.github.com/users/johnpapa/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T18:05:49Z","updated_at":"2016-09-05T18:05:49Z","body":"Angular 2 issues will now go to the A2 style guide in the angular.io repo"}}
{"actor":{"display_login":"johnpapa"}}