{"action":"created","issue":{"url":"https://api.github.com/repos/flyway/flyway/issues/808","labels_url":"https://api.github.com/repos/flyway/flyway/issues/808/labels{/name}","comments_url":"https://api.github.com/repos/flyway/flyway/issues/808/comments","events_url":"https://api.github.com/repos/flyway/flyway/issues/808/events","html_url":"https://github.com/flyway/flyway/issues/808","id":38708683,"number":808,"title":"Use guice (or any other dependeny injection framework)","user":{"login":"pauxus","id":1023744,"avatar_url":"https://avatars.githubusercontent.com/u/1023744?v=3","gravatar_id":"","url":"https://api.github.com/users/pauxus","html_url":"https://github.com/pauxus","followers_url":"https://api.github.com/users/pauxus/followers","following_url":"https://api.github.com/users/pauxus/following{/other_user}","gists_url":"https://api.github.com/users/pauxus/gists{/gist_id}","starred_url":"https://api.github.com/users/pauxus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauxus/subscriptions","organizations_url":"https://api.github.com/users/pauxus/orgs","repos_url":"https://api.github.com/users/pauxus/repos","events_url":"https://api.github.com/users/pauxus/events{/privacy}","received_events_url":"https://api.github.com/users/pauxus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-07-25T08:33:41Z","updated_at":"2015-04-29T15:03:38Z","closed_at":"2014-07-25T09:42:29Z","body":"Hi Axel!\r\n\r\nJust to start a discussion. What about introducing a dependency injection framework (guice) for say 4.0? \r\n\r\nThis would introduce another dependency (which would be needed to be shaded in, I think), but offer some advantages:\r\n\r\nIn addition to make the code clearer in some places (especially reduce the large constructor calls), it would also allow jdbc migrations, custom resolvers and callbacks to access configuration data in a much more flexible way (without the need for an addtional interface like proposed in #805).\r\n\r\nCheers,\r\n\r\nStephan"},"comment":{"url":"https://api.github.com/repos/flyway/flyway/issues/comments/97458111","html_url":"https://github.com/flyway/flyway/issues/808#issuecomment-97458111","issue_url":"https://api.github.com/repos/flyway/flyway/issues/808","id":97458111,"user":{"login":"emaillenin","id":1235853,"avatar_url":"https://avatars.githubusercontent.com/u/1235853?v=3","gravatar_id":"","url":"https://api.github.com/users/emaillenin","html_url":"https://github.com/emaillenin","followers_url":"https://api.github.com/users/emaillenin/followers","following_url":"https://api.github.com/users/emaillenin/following{/other_user}","gists_url":"https://api.github.com/users/emaillenin/gists{/gist_id}","starred_url":"https://api.github.com/users/emaillenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emaillenin/subscriptions","organizations_url":"https://api.github.com/users/emaillenin/orgs","repos_url":"https://api.github.com/users/emaillenin/repos","events_url":"https://api.github.com/users/emaillenin/events{/privacy}","received_events_url":"https://api.github.com/users/emaillenin/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T15:03:38Z","updated_at":"2015-04-29T15:03:38Z","body":"+1 for injecting retrofit clients into JDBC migrations. "}}