{"action":"created","comment":{"url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/comments/80107183","id":80107183,"diff_hunk":"@@ -17,11 +18,17 @@ export class ResourceProviders {\n       this.providers[subSet] = [];\n     }\n \n+    let deps: any[] = Reflect.getMetadata(\"design:paramtypes\", resource)","path":"lib/ResourceProviders.ts","position":19,"original_position":19,"commit_id":"7b17238afdddc944d38e8ba6e655d99956559d65","original_commit_id":"7b17238afdddc944d38e8ba6e655d99956559d65","user":{"login":"troyanskiy","id":1538862,"avatar_url":"https://avatars.githubusercontent.com/u/1538862?v=3","gravatar_id":"","url":"https://api.github.com/users/troyanskiy","html_url":"https://github.com/troyanskiy","followers_url":"https://api.github.com/users/troyanskiy/followers","following_url":"https://api.github.com/users/troyanskiy/following{/other_user}","gists_url":"https://api.github.com/users/troyanskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/troyanskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troyanskiy/subscriptions","organizations_url":"https://api.github.com/users/troyanskiy/orgs","repos_url":"https://api.github.com/users/troyanskiy/repos","events_url":"https://api.github.com/users/troyanskiy/events{/privacy}","received_events_url":"https://api.github.com/users/troyanskiy/received_events","type":"User","site_admin":false},"body":"semicolon is missing","created_at":"2016-09-22T18:34:14Z","updated_at":"2016-09-22T18:34:14Z","html_url":"https://github.com/troyanskiy/ng2-resource-rest/pull/38#discussion_r80107183","pull_request_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/comments/80107183"},"html":{"href":"https://github.com/troyanskiy/ng2-resource-rest/pull/38#discussion_r80107183"},"pull_request":{"href":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/38","id":86321710,"html_url":"https://github.com/troyanskiy/ng2-resource-rest/pull/38","diff_url":"https://github.com/troyanskiy/ng2-resource-rest/pull/38.diff","patch_url":"https://github.com/troyanskiy/ng2-resource-rest/pull/38.patch","issue_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/38","number":38,"state":"open","locked":false,"title":"Opportunity of injecting services into Resource.","user":{"login":"magnitronus","id":7127786,"avatar_url":"https://avatars.githubusercontent.com/u/7127786?v=3","gravatar_id":"","url":"https://api.github.com/users/magnitronus","html_url":"https://github.com/magnitronus","followers_url":"https://api.github.com/users/magnitronus/followers","following_url":"https://api.github.com/users/magnitronus/following{/other_user}","gists_url":"https://api.github.com/users/magnitronus/gists{/gist_id}","starred_url":"https://api.github.com/users/magnitronus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnitronus/subscriptions","organizations_url":"https://api.github.com/users/magnitronus/orgs","repos_url":"https://api.github.com/users/magnitronus/repos","events_url":"https://api.github.com/users/magnitronus/events{/privacy}","received_events_url":"https://api.github.com/users/magnitronus/received_events","type":"User","site_admin":false},"body":"```ts\r\nexport class UnitRes extends Resource {\r\n    constructor(\r\n            http: Http,\r\n            injector: Injector,\r\n            private _myService: MyService\r\n        ) {\r\n            super(http, injector);\r\n        }\r\n }\r\n```\r\nworks now","created_at":"2016-09-22T11:41:22Z","updated_at":"2016-09-22T18:34:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"580681a758484b5e5587f8c81e487a18bfa632d9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/38/commits","review_comments_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/38/comments","review_comment_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/38/comments","statuses_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/statuses/7b17238afdddc944d38e8ba6e655d99956559d65","head":{"label":"magnitronus:master","ref":"master","sha":"7b17238afdddc944d38e8ba6e655d99956559d65","user":{"login":"magnitronus","id":7127786,"avatar_url":"https://avatars.githubusercontent.com/u/7127786?v=3","gravatar_id":"","url":"https://api.github.com/users/magnitronus","html_url":"https://github.com/magnitronus","followers_url":"https://api.github.com/users/magnitronus/followers","following_url":"https://api.github.com/users/magnitronus/following{/other_user}","gists_url":"https://api.github.com/users/magnitronus/gists{/gist_id}","starred_url":"https://api.github.com/users/magnitronus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnitronus/subscriptions","organizations_url":"https://api.github.com/users/magnitronus/orgs","repos_url":"https://api.github.com/users/magnitronus/repos","events_url":"https://api.github.com/users/magnitronus/events{/privacy}","received_events_url":"https://api.github.com/users/magnitronus/received_events","type":"User","site_admin":false},"repo":{"id":68678737,"name":"ng2-resource-rest","full_name":"magnitronus/ng2-resource-rest","owner":{"login":"magnitronus","id":7127786,"avatar_url":"https://avatars.githubusercontent.com/u/7127786?v=3","gravatar_id":"","url":"https://api.github.com/users/magnitronus","html_url":"https://github.com/magnitronus","followers_url":"https://api.github.com/users/magnitronus/followers","following_url":"https://api.github.com/users/magnitronus/following{/other_user}","gists_url":"https://api.github.com/users/magnitronus/gists{/gist_id}","starred_url":"https://api.github.com/users/magnitronus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnitronus/subscriptions","organizations_url":"https://api.github.com/users/magnitronus/orgs","repos_url":"https://api.github.com/users/magnitronus/repos","events_url":"https://api.github.com/users/magnitronus/events{/privacy}","received_events_url":"https://api.github.com/users/magnitronus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/magnitronus/ng2-resource-rest","description":"Resource (REST) Client for Angular 2","fork":true,"url":"https://api.github.com/repos/magnitronus/ng2-resource-rest","forks_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/forks","keys_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/teams","hooks_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/hooks","issue_events_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/issues/events{/number}","events_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/events","assignees_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/assignees{/user}","branches_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/branches{/branch}","tags_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/tags","blobs_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/git/refs{/sha}","trees_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/statuses/{sha}","languages_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/languages","stargazers_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/stargazers","contributors_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/contributors","subscribers_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/subscribers","subscription_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/subscription","commits_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/commits{/sha}","git_commits_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/git/commits{/sha}","comments_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/comments{/number}","issue_comment_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/issues/comments{/number}","contents_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/contents/{+path}","compare_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/merges","archive_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/downloads","issues_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/issues{/number}","pulls_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/pulls{/number}","milestones_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/milestones{/number}","notifications_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/labels{/name}","releases_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/releases{/id}","deployments_url":"https://api.github.com/repos/magnitronus/ng2-resource-rest/deployments","created_at":"2016-09-20T05:53:04Z","updated_at":"2016-09-20T05:53:05Z","pushed_at":"2016-09-22T11:39:00Z","git_url":"git://github.com/magnitronus/ng2-resource-rest.git","ssh_url":"git@github.com:magnitronus/ng2-resource-rest.git","clone_url":"https://github.com/magnitronus/ng2-resource-rest.git","svn_url":"https://github.com/magnitronus/ng2-resource-rest","homepage":null,"size":172,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"troyanskiy:master","ref":"master","sha":"ffbe7baff1d1f7c550b3cec2312ef5506bd508b4","user":{"login":"troyanskiy","id":1538862,"avatar_url":"https://avatars.githubusercontent.com/u/1538862?v=3","gravatar_id":"","url":"https://api.github.com/users/troyanskiy","html_url":"https://github.com/troyanskiy","followers_url":"https://api.github.com/users/troyanskiy/followers","following_url":"https://api.github.com/users/troyanskiy/following{/other_user}","gists_url":"https://api.github.com/users/troyanskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/troyanskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troyanskiy/subscriptions","organizations_url":"https://api.github.com/users/troyanskiy/orgs","repos_url":"https://api.github.com/users/troyanskiy/repos","events_url":"https://api.github.com/users/troyanskiy/events{/privacy}","received_events_url":"https://api.github.com/users/troyanskiy/received_events","type":"User","site_admin":false},"repo":{"id":54953903,"name":"ng2-resource-rest","full_name":"troyanskiy/ng2-resource-rest","owner":{"login":"troyanskiy","id":1538862,"avatar_url":"https://avatars.githubusercontent.com/u/1538862?v=3","gravatar_id":"","url":"https://api.github.com/users/troyanskiy","html_url":"https://github.com/troyanskiy","followers_url":"https://api.github.com/users/troyanskiy/followers","following_url":"https://api.github.com/users/troyanskiy/following{/other_user}","gists_url":"https://api.github.com/users/troyanskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/troyanskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troyanskiy/subscriptions","organizations_url":"https://api.github.com/users/troyanskiy/orgs","repos_url":"https://api.github.com/users/troyanskiy/repos","events_url":"https://api.github.com/users/troyanskiy/events{/privacy}","received_events_url":"https://api.github.com/users/troyanskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/troyanskiy/ng2-resource-rest","description":"Resource (REST) Client for Angular 2","fork":false,"url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest","forks_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/forks","keys_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/teams","hooks_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/hooks","issue_events_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/events{/number}","events_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/events","assignees_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/assignees{/user}","branches_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/branches{/branch}","tags_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/tags","blobs_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/git/refs{/sha}","trees_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/statuses/{sha}","languages_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/languages","stargazers_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/stargazers","contributors_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/contributors","subscribers_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/subscribers","subscription_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/subscription","commits_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/commits{/sha}","git_commits_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/git/commits{/sha}","comments_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/comments{/number}","issue_comment_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/comments{/number}","contents_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/contents/{+path}","compare_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/merges","archive_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/downloads","issues_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues{/number}","pulls_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls{/number}","milestones_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/milestones{/number}","notifications_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/labels{/name}","releases_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/releases{/id}","deployments_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/deployments","created_at":"2016-03-29T07:09:09Z","updated_at":"2016-09-19T18:29:45Z","pushed_at":"2016-09-22T11:41:22Z","git_url":"git://github.com/troyanskiy/ng2-resource-rest.git","ssh_url":"git@github.com:troyanskiy/ng2-resource-rest.git","clone_url":"https://github.com/troyanskiy/ng2-resource-rest.git","svn_url":"https://github.com/troyanskiy/ng2-resource-rest","homepage":null,"size":161,"stargazers_count":32,"watchers_count":32,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/38"},"html":{"href":"https://github.com/troyanskiy/ng2-resource-rest/pull/38"},"issue":{"href":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/38"},"comments":{"href":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/statuses/7b17238afdddc944d38e8ba6e655d99956559d65"}}}}
{"actor":{"display_login":"troyanskiy"}}