{"action":"created","issue":{"url":"https://api.github.com/repos/lukaspili/Auto-Dagger2/issues/5","labels_url":"https://api.github.com/repos/lukaspili/Auto-Dagger2/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/lukaspili/Auto-Dagger2/issues/5/comments","events_url":"https://api.github.com/repos/lukaspili/Auto-Dagger2/issues/5/events","html_url":"https://github.com/lukaspili/Auto-Dagger2/issues/5","id":105949742,"number":5,"title":"@AutoSubcomponent annotation","user":{"login":"ersin-ertan","id":4809853,"avatar_url":"https://avatars.githubusercontent.com/u/4809853?v=3","gravatar_id":"","url":"https://api.github.com/users/ersin-ertan","html_url":"https://github.com/ersin-ertan","followers_url":"https://api.github.com/users/ersin-ertan/followers","following_url":"https://api.github.com/users/ersin-ertan/following{/other_user}","gists_url":"https://api.github.com/users/ersin-ertan/gists{/gist_id}","starred_url":"https://api.github.com/users/ersin-ertan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ersin-ertan/subscriptions","organizations_url":"https://api.github.com/users/ersin-ertan/orgs","repos_url":"https://api.github.com/users/ersin-ertan/repos","events_url":"https://api.github.com/users/ersin-ertan/events{/privacy}","received_events_url":"https://api.github.com/users/ersin-ertan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-11T05:54:57Z","updated_at":"2015-12-10T10:33:00Z","closed_at":null,"body":"I tried to extend the object graph to the subcomponent from a component, I have the component extend via the ```superinterface = SubComponentWorkAroundSuperinterface.class``` to get the method in the generated AppComponent\r\n\r\n```java\r\n@AppScope(App.class) @AutoComponent(modules = App.AppModule.class, superinterfaces = SubComponentsWorkAround.class)\r\npublic class App extends Application{...}\r\n\r\n@AppScope(App.class)  @Component(modules = User.UserModule.class)\r\npublic interface SubComponentsWorkAroundSuperinterface{\r\n\tObjectType plus(ObjectModule objectModule);\r\n}\r\n```\r\n-\r\nbut get the error \"Members injection methods may only return the injected type or void.\"\r\n\r\nWould an ```@UserScope @AutoSubcomponent(modules = User.UserModule.class) class User{...}``` solve this, allowing us to use the plus(), perhaps in conjunction with another new annotation that is a combination of the the two ```@AutoExpose + @AutoInjector = @AutoPlus```?"},"comment":{"url":"https://api.github.com/repos/lukaspili/Auto-Dagger2/issues/comments/163570863","html_url":"https://github.com/lukaspili/Auto-Dagger2/issues/5#issuecomment-163570863","issue_url":"https://api.github.com/repos/lukaspili/Auto-Dagger2/issues/5","id":163570863,"user":{"login":"lennynilsson","id":622882,"avatar_url":"https://avatars.githubusercontent.com/u/622882?v=3","gravatar_id":"","url":"https://api.github.com/users/lennynilsson","html_url":"https://github.com/lennynilsson","followers_url":"https://api.github.com/users/lennynilsson/followers","following_url":"https://api.github.com/users/lennynilsson/following{/other_user}","gists_url":"https://api.github.com/users/lennynilsson/gists{/gist_id}","starred_url":"https://api.github.com/users/lennynilsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennynilsson/subscriptions","organizations_url":"https://api.github.com/users/lennynilsson/orgs","repos_url":"https://api.github.com/users/lennynilsson/repos","events_url":"https://api.github.com/users/lennynilsson/events{/privacy}","received_events_url":"https://api.github.com/users/lennynilsson/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T10:33:00Z","updated_at":"2015-12-10T10:33:00Z","body":"Hi @lukaspili,\r\n\r\nNice work with the library. I'm working with @nbonavia and was thinking I would try your project out.\r\nIs the 1.2-SNAPSHOT available on Github?"}}