{"action":"opened","number":5194,"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/5194","id":50088911,"html_url":"https://github.com/angular/angular/pull/5194","diff_url":"https://github.com/angular/angular/pull/5194.diff","patch_url":"https://github.com/angular/angular/pull/5194.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/5194","number":5194,"state":"open","locked":false,"title":"support @NoProviderErrorMessage('cannot find....')","user":{"login":"erictsangx","id":7621460,"avatar_url":"https://avatars.githubusercontent.com/u/7621460?v=3","gravatar_id":"","url":"https://api.github.com/users/erictsangx","html_url":"https://github.com/erictsangx","followers_url":"https://api.github.com/users/erictsangx/followers","following_url":"https://api.github.com/users/erictsangx/following{/other_user}","gists_url":"https://api.github.com/users/erictsangx/gists{/gist_id}","starred_url":"https://api.github.com/users/erictsangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictsangx/subscriptions","organizations_url":"https://api.github.com/users/erictsangx/orgs","repos_url":"https://api.github.com/users/erictsangx/repos","events_url":"https://api.github.com/users/erictsangx/events{/privacy}","received_events_url":"https://api.github.com/users/erictsangx/received_events","type":"User","site_admin":false},"body":"```\r\n@Injectable()\r\nclass Car {\r\n  engine;\r\n  constructor(@NoProviderErrorMessage('cannot find Engine') engine:Engine) {\r\n    this.engine = engine;\r\n  }\r\n}\r\n\r\nvar injector = Injector.resolveAndCreate([Car]);\r\nexpect(()=>int.get(Car).engine).toThrowError('cannot find Engine');\r\n```\r\n\r\nPS: default error message is still using `` `No provider for ${first}!${constructResolvingPath(keys)}` ``","created_at":"2015-11-09T06:29:07Z","updated_at":"2015-11-09T06:29:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular/pulls/5194/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/5194/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/5194/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/b581008477d537122a1600347517f9b7311fe5e6","head":{"label":"erictsangx:no-provider-error-message","ref":"no-provider-error-message","sha":"b581008477d537122a1600347517f9b7311fe5e6","user":{"login":"erictsangx","id":7621460,"avatar_url":"https://avatars.githubusercontent.com/u/7621460?v=3","gravatar_id":"","url":"https://api.github.com/users/erictsangx","html_url":"https://github.com/erictsangx","followers_url":"https://api.github.com/users/erictsangx/followers","following_url":"https://api.github.com/users/erictsangx/following{/other_user}","gists_url":"https://api.github.com/users/erictsangx/gists{/gist_id}","starred_url":"https://api.github.com/users/erictsangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictsangx/subscriptions","organizations_url":"https://api.github.com/users/erictsangx/orgs","repos_url":"https://api.github.com/users/erictsangx/repos","events_url":"https://api.github.com/users/erictsangx/events{/privacy}","received_events_url":"https://api.github.com/users/erictsangx/received_events","type":"User","site_admin":false},"repo":{"id":45438346,"name":"angular","full_name":"erictsangx/angular","owner":{"login":"erictsangx","id":7621460,"avatar_url":"https://avatars.githubusercontent.com/u/7621460?v=3","gravatar_id":"","url":"https://api.github.com/users/erictsangx","html_url":"https://github.com/erictsangx","followers_url":"https://api.github.com/users/erictsangx/followers","following_url":"https://api.github.com/users/erictsangx/following{/other_user}","gists_url":"https://api.github.com/users/erictsangx/gists{/gist_id}","starred_url":"https://api.github.com/users/erictsangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictsangx/subscriptions","organizations_url":"https://api.github.com/users/erictsangx/orgs","repos_url":"https://api.github.com/users/erictsangx/repos","events_url":"https://api.github.com/users/erictsangx/events{/privacy}","received_events_url":"https://api.github.com/users/erictsangx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erictsangx/angular","description":"","fork":true,"url":"https://api.github.com/repos/erictsangx/angular","forks_url":"https://api.github.com/repos/erictsangx/angular/forks","keys_url":"https://api.github.com/repos/erictsangx/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erictsangx/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erictsangx/angular/teams","hooks_url":"https://api.github.com/repos/erictsangx/angular/hooks","issue_events_url":"https://api.github.com/repos/erictsangx/angular/issues/events{/number}","events_url":"https://api.github.com/repos/erictsangx/angular/events","assignees_url":"https://api.github.com/repos/erictsangx/angular/assignees{/user}","branches_url":"https://api.github.com/repos/erictsangx/angular/branches{/branch}","tags_url":"https://api.github.com/repos/erictsangx/angular/tags","blobs_url":"https://api.github.com/repos/erictsangx/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erictsangx/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erictsangx/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/erictsangx/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erictsangx/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/erictsangx/angular/languages","stargazers_url":"https://api.github.com/repos/erictsangx/angular/stargazers","contributors_url":"https://api.github.com/repos/erictsangx/angular/contributors","subscribers_url":"https://api.github.com/repos/erictsangx/angular/subscribers","subscription_url":"https://api.github.com/repos/erictsangx/angular/subscription","commits_url":"https://api.github.com/repos/erictsangx/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/erictsangx/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/erictsangx/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/erictsangx/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/erictsangx/angular/contents/{+path}","compare_url":"https://api.github.com/repos/erictsangx/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erictsangx/angular/merges","archive_url":"https://api.github.com/repos/erictsangx/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erictsangx/angular/downloads","issues_url":"https://api.github.com/repos/erictsangx/angular/issues{/number}","pulls_url":"https://api.github.com/repos/erictsangx/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/erictsangx/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/erictsangx/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erictsangx/angular/labels{/name}","releases_url":"https://api.github.com/repos/erictsangx/angular/releases{/id}","created_at":"2015-11-03T03:06:40Z","updated_at":"2015-11-05T08:22:01Z","pushed_at":"2015-11-09T06:15:06Z","git_url":"git://github.com/erictsangx/angular.git","ssh_url":"git@github.com:erictsangx/angular.git","clone_url":"https://github.com/erictsangx/angular.git","svn_url":"https://github.com/erictsangx/angular","homepage":"https://angular.io","size":19000,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"2645fb0d6c01c328b563b547ece8474fe524a6d0","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":24195339,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular","description":"","fork":false,"url":"https://api.github.com/repos/angular/angular","forks_url":"https://api.github.com/repos/angular/angular/forks","keys_url":"https://api.github.com/repos/angular/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular/teams","hooks_url":"https://api.github.com/repos/angular/angular/hooks","issue_events_url":"https://api.github.com/repos/angular/angular/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular/events","assignees_url":"https://api.github.com/repos/angular/angular/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular/tags","blobs_url":"https://api.github.com/repos/angular/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular/languages","stargazers_url":"https://api.github.com/repos/angular/angular/stargazers","contributors_url":"https://api.github.com/repos/angular/angular/contributors","subscribers_url":"https://api.github.com/repos/angular/angular/subscribers","subscription_url":"https://api.github.com/repos/angular/angular/subscription","commits_url":"https://api.github.com/repos/angular/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular/merges","archive_url":"https://api.github.com/repos/angular/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular/downloads","issues_url":"https://api.github.com/repos/angular/angular/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular/releases{/id}","created_at":"2014-09-18T16:12:01Z","updated_at":"2015-11-09T04:50:35Z","pushed_at":"2015-11-09T05:58:57Z","git_url":"git://github.com/angular/angular.git","ssh_url":"git@github.com:angular/angular.git","clone_url":"https://github.com/angular/angular.git","svn_url":"https://github.com/angular/angular","homepage":"https://angular.io","size":68491,"stargazers_count":6388,"watchers_count":6388,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1729,"mirror_url":null,"open_issues_count":584,"forks":1729,"open_issues":584,"watchers":6388,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/5194"},"html":{"href":"https://github.com/angular/angular/pull/5194"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/5194"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/5194/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/5194/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/5194/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/b581008477d537122a1600347517f9b7311fe5e6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":247,"deletions":153,"changed_files":10}}