{"action":"closed","issue":{"url":"https://api.github.com/repos/adamw/macwire/issues/51","labels_url":"https://api.github.com/repos/adamw/macwire/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/adamw/macwire/issues/51/comments","events_url":"https://api.github.com/repos/adamw/macwire/issues/51/events","html_url":"https://github.com/adamw/macwire/issues/51","id":103497877,"number":51,"title":"Wire from enclosing imports","user":{"login":"backuitist","id":1017537,"avatar_url":"https://avatars.githubusercontent.com/u/1017537?v=3","gravatar_id":"","url":"https://api.github.com/users/backuitist","html_url":"https://github.com/backuitist","followers_url":"https://api.github.com/users/backuitist/followers","following_url":"https://api.github.com/users/backuitist/following{/other_user}","gists_url":"https://api.github.com/users/backuitist/gists{/gist_id}","starred_url":"https://api.github.com/users/backuitist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backuitist/subscriptions","organizations_url":"https://api.github.com/users/backuitist/orgs","repos_url":"https://api.github.com/users/backuitist/repos","events_url":"https://api.github.com/users/backuitist/events{/privacy}","received_events_url":"https://api.github.com/users/backuitist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-27T12:33:00Z","updated_at":"2015-09-01T07:39:01Z","closed_at":"2015-09-01T07:39:01Z","body":"I'd like to be able to wire imported members:\r\n```scala\r\nclass CoreService\r\nclass CoreModule {\r\n  lazy val service = wire[CoreService]\r\n}\r\n\r\nclass ExtensionService(core: CoreService)\r\nclass ExtensionModule(coreModule: CoreModule) {\r\n  import coreModule._\r\n\r\n  lazy val service = wire[ExtensionService]\r\n}\r\n```\r\n\r\nThis is currently not possible as `import coreModule._` isn't taken into account."}}