{"action":"closed","issue":{"url":"https://api.github.com/repos/dizayner/angular-training/issues/3","repository_url":"https://api.github.com/repos/dizayner/angular-training","labels_url":"https://api.github.com/repos/dizayner/angular-training/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dizayner/angular-training/issues/3/comments","events_url":"https://api.github.com/repos/dizayner/angular-training/issues/3/events","html_url":"https://github.com/dizayner/angular-training/issues/3","id":308825908,"number":3,"title":"product.component.ts","user":{"login":"VZhyrytskiy","id":13118358,"avatar_url":"https://avatars1.githubusercontent.com/u/13118358?v=4","gravatar_id":"","url":"https://api.github.com/users/VZhyrytskiy","html_url":"https://github.com/VZhyrytskiy","followers_url":"https://api.github.com/users/VZhyrytskiy/followers","following_url":"https://api.github.com/users/VZhyrytskiy/following{/other_user}","gists_url":"https://api.github.com/users/VZhyrytskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/VZhyrytskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VZhyrytskiy/subscriptions","organizations_url":"https://api.github.com/users/VZhyrytskiy/orgs","repos_url":"https://api.github.com/users/VZhyrytskiy/repos","events_url":"https://api.github.com/users/VZhyrytskiy/events{/privacy}","received_events_url":"https://api.github.com/users/VZhyrytskiy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-27T05:23:00Z","updated_at":"2018-03-27T06:50:10Z","closed_at":"2018-03-27T06:50:10Z","author_association":"NONE","body":"Можно упростить этот компонент, убрав зависимость и реализовав этот компонент как презентационный. Если надо добавить в корзину товар, то пусть он его передает родительскому, а тот уже добавляетв корзину. Получиться, что у ProductListComponent буду зависимости, а у ProductComponent нет. Чем меньше простых действий выполняет компонент и меньше у него зависимостей, тем проще его тестировать."}}
{"actor":{"display_login":"dizayner"}}