{"action":"created","issue":{"url":"https://api.github.com/repos/elidupuis/ember-cli-build-info/issues/5","labels_url":"https://api.github.com/repos/elidupuis/ember-cli-build-info/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/elidupuis/ember-cli-build-info/issues/5/comments","events_url":"https://api.github.com/repos/elidupuis/ember-cli-build-info/issues/5/events","html_url":"https://github.com/elidupuis/ember-cli-build-info/issues/5","id":69507571,"number":5,"title":"Avoid injecting `buildInfo` into all Routes, Controllers, and Services","user":{"login":"elidupuis","id":196410,"avatar_url":"https://avatars.githubusercontent.com/u/196410?v=3","gravatar_id":"","url":"https://api.github.com/users/elidupuis","html_url":"https://github.com/elidupuis","followers_url":"https://api.github.com/users/elidupuis/followers","following_url":"https://api.github.com/users/elidupuis/following{/other_user}","gists_url":"https://api.github.com/users/elidupuis/gists{/gist_id}","starred_url":"https://api.github.com/users/elidupuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elidupuis/subscriptions","organizations_url":"https://api.github.com/users/elidupuis/orgs","repos_url":"https://api.github.com/users/elidupuis/repos","events_url":"https://api.github.com/users/elidupuis/events{/privacy}","received_events_url":"https://api.github.com/users/elidupuis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-20T05:02:17Z","updated_at":"2015-10-01T07:44:10Z","closed_at":null,"body":"Instead, simply register the `buildInfo` container (unless there's a better way to access this info) and then let the consuming inject it where needed.\r\n\r\nEven better, register a `buildInfoService` and encourage using `Ember.inject` in the few places the info is needed in the consuming app. "},"comment":{"url":"https://api.github.com/repos/elidupuis/ember-cli-build-info/issues/comments/144645311","html_url":"https://github.com/elidupuis/ember-cli-build-info/issues/5#issuecomment-144645311","issue_url":"https://api.github.com/repos/elidupuis/ember-cli-build-info/issues/5","id":144645311,"user":{"login":"jfelchner","id":285582,"avatar_url":"https://avatars.githubusercontent.com/u/285582?v=3","gravatar_id":"","url":"https://api.github.com/users/jfelchner","html_url":"https://github.com/jfelchner","followers_url":"https://api.github.com/users/jfelchner/followers","following_url":"https://api.github.com/users/jfelchner/following{/other_user}","gists_url":"https://api.github.com/users/jfelchner/gists{/gist_id}","starred_url":"https://api.github.com/users/jfelchner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfelchner/subscriptions","organizations_url":"https://api.github.com/users/jfelchner/orgs","repos_url":"https://api.github.com/users/jfelchner/repos","events_url":"https://api.github.com/users/jfelchner/events{/privacy}","received_events_url":"https://api.github.com/users/jfelchner/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T07:44:10Z","updated_at":"2015-10-01T07:44:10Z","body":"I agree. Injecting into everything is a bit overkill."}}