{"action":"created","issue":{"url":"https://api.github.com/repos/nextras/migrations/issues/43","repository_url":"https://api.github.com/repos/nextras/migrations","labels_url":"https://api.github.com/repos/nextras/migrations/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/nextras/migrations/issues/43/comments","events_url":"https://api.github.com/repos/nextras/migrations/issues/43/events","html_url":"https://github.com/nextras/migrations/issues/43","id":144174010,"number":43,"title":"Do not use constructor injection in Symfony command","user":{"login":"JanTvrdik","id":175109,"avatar_url":"https://avatars.githubusercontent.com/u/175109?v=3","gravatar_id":"","url":"https://api.github.com/users/JanTvrdik","html_url":"https://github.com/JanTvrdik","followers_url":"https://api.github.com/users/JanTvrdik/followers","following_url":"https://api.github.com/users/JanTvrdik/following{/other_user}","gists_url":"https://api.github.com/users/JanTvrdik/gists{/gist_id}","starred_url":"https://api.github.com/users/JanTvrdik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanTvrdik/subscriptions","organizations_url":"https://api.github.com/users/JanTvrdik/orgs","repos_url":"https://api.github.com/users/JanTvrdik/repos","events_url":"https://api.github.com/users/JanTvrdik/events{/privacy}","received_events_url":"https://api.github.com/users/JanTvrdik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nextras/migrations/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-29T06:51:12Z","updated_at":"2016-03-29T07:14:40Z","closed_at":null,"body":"We should avoid using constructor injection in Symfony command, because the command are not lazy loaded ([Symfony Console design problem](https://github.com/symfony/symfony/issues/12063)). Currently migrations + with all their dependencies need to be loaded every time any other unrelated command is executed.\r\n\r\nNote that the solution should be ideally both Nette & Symfony compatible.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nextras/migrations/issues/comments/202750586","html_url":"https://github.com/nextras/migrations/issues/43#issuecomment-202750586","issue_url":"https://api.github.com/repos/nextras/migrations/issues/43","id":202750586,"user":{"login":"hrach","id":284263,"avatar_url":"https://avatars.githubusercontent.com/u/284263?v=3","gravatar_id":"","url":"https://api.github.com/users/hrach","html_url":"https://github.com/hrach","followers_url":"https://api.github.com/users/hrach/followers","following_url":"https://api.github.com/users/hrach/following{/other_user}","gists_url":"https://api.github.com/users/hrach/gists{/gist_id}","starred_url":"https://api.github.com/users/hrach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrach/subscriptions","organizations_url":"https://api.github.com/users/hrach/orgs","repos_url":"https://api.github.com/users/hrach/repos","events_url":"https://api.github.com/users/hrach/events{/privacy}","received_events_url":"https://api.github.com/users/hrach/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T07:14:40Z","updated_at":"2016-03-29T07:14:40Z","body":"The will be the task of that bundle, wouldn't be?"}}