{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/3782","labels_url":"https://api.github.com/repos/playframework/playframework/issues/3782/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/3782/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/3782/events","html_url":"https://github.com/playframework/playframework/pull/3782","id":53546833,"number":3782,"title":"Controller#request2lang is coupled with the i18n API that relies on runtime DI","user":{"login":"julienrf","id":332812,"avatar_url":"https://avatars.githubusercontent.com/u/332812?v=3","gravatar_id":"","url":"https://api.github.com/users/julienrf","html_url":"https://github.com/julienrf","followers_url":"https://api.github.com/users/julienrf/followers","following_url":"https://api.github.com/users/julienrf/following{/other_user}","gists_url":"https://api.github.com/users/julienrf/gists{/gist_id}","starred_url":"https://api.github.com/users/julienrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienrf/subscriptions","organizations_url":"https://api.github.com/users/julienrf/orgs","repos_url":"https://api.github.com/users/julienrf/repos","events_url":"https://api.github.com/users/julienrf/events{/privacy}","received_events_url":"https://api.github.com/users/julienrf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-01-06T18:35:07Z","updated_at":"2015-02-18T13:06:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/playframework/playframework/pulls/3782","html_url":"https://github.com/playframework/playframework/pull/3782","diff_url":"https://github.com/playframework/playframework/pull/3782.diff","patch_url":"https://github.com/playframework/playframework/pull/3782.patch"},"body":"See [here](https://github.com/playframework/playframework/blob/master/framework/src/play/src/main/scala/play/api/mvc/Controller.scala#L65). It means that you get a runtime exception if you try to get an implicit `Lang` from within an action and if your code does not use a runtime DI mechanism."},"comment":{"url":"https://api.github.com/repos/playframework/playframework/issues/comments/74860617","html_url":"https://github.com/playframework/playframework/pull/3782#issuecomment-74860617","issue_url":"https://api.github.com/repos/playframework/playframework/issues/3782","id":74860617,"user":{"login":"cchantep","id":166062,"avatar_url":"https://avatars.githubusercontent.com/u/166062?v=3","gravatar_id":"","url":"https://api.github.com/users/cchantep","html_url":"https://github.com/cchantep","followers_url":"https://api.github.com/users/cchantep/followers","following_url":"https://api.github.com/users/cchantep/following{/other_user}","gists_url":"https://api.github.com/users/cchantep/gists{/gist_id}","starred_url":"https://api.github.com/users/cchantep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchantep/subscriptions","organizations_url":"https://api.github.com/users/cchantep/orgs","repos_url":"https://api.github.com/users/cchantep/repos","events_url":"https://api.github.com/users/cchantep/events{/privacy}","received_events_url":"https://api.github.com/users/cchantep/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T13:06:38Z","updated_at":"2015-02-18T13:06:38Z","body":"At first for 2.4, I would keep the deprecated functions (in legacy trait or just where they are), with the annotation.\n\nIn this way, existing app would get deprecation warnings on update and the migration would be easy.\n\nThen deprecated code could be cleaned up after."}}