{"action":"created","issue":{"url":"https://api.github.com/repos/Swinject/Swinject/issues/82","repository_url":"https://api.github.com/repos/Swinject/Swinject","labels_url":"https://api.github.com/repos/Swinject/Swinject/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/Swinject/Swinject/issues/82/comments","events_url":"https://api.github.com/repos/Swinject/Swinject/issues/82/events","html_url":"https://github.com/Swinject/Swinject/issues/82","id":148660129,"number":82,"title":"Swinject support definition.parent like typhoon?","user":{"login":"axenovV","id":9257530,"avatar_url":"https://avatars.githubusercontent.com/u/9257530?v=3","gravatar_id":"","url":"https://api.github.com/users/axenovV","html_url":"https://github.com/axenovV","followers_url":"https://api.github.com/users/axenovV/followers","following_url":"https://api.github.com/users/axenovV/following{/other_user}","gists_url":"https://api.github.com/users/axenovV/gists{/gist_id}","starred_url":"https://api.github.com/users/axenovV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axenovV/subscriptions","organizations_url":"https://api.github.com/users/axenovV/orgs","repos_url":"https://api.github.com/users/axenovV/repos","events_url":"https://api.github.com/users/axenovV/events{/privacy}","received_events_url":"https://api.github.com/users/axenovV/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T13:23:58Z","updated_at":"2016-04-16T00:06:53Z","closed_at":null,"body":"Hello. swinject support definition.parent like typhoon?\r\nSample : \r\n\r\n```objective-c\r\n- (UIViewController *)baseViewController {\r\n    return [TyphoonDefinition withClass:[UIViewController class] \r\n                                         configuration:^(TyphoonDefinition *definition) {\r\n            [definition injectProperty:@selector(errorService)\r\n                                                 with:[self.serviceComponents errorService]];\r\n            [definition injectProperty:@selector(errorHandler)\r\n                                                 with:[self baseControllerErrorHandler]];\r\n            [definition injectProperty:@selector(router)\r\n                                                 with:[self baseRouter]];\r\n    }];\r\n}\r\n\r\n- (UIViewController *)userNameTableViewController {\r\n    return [TyphoonDefinition withClass:[RCMMessageCompositionViewController class] \r\n                                              configuration:^(TyphoonDefinition *definition) {\r\n            definition.parent = [self baseViewController];\r\n            [definition injectProperty:@selector(router)\r\n                                                  with:[self settingsRouter]];\r\n    }];\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Swinject/Swinject/issues/comments/210692846","html_url":"https://github.com/Swinject/Swinject/issues/82#issuecomment-210692846","issue_url":"https://api.github.com/repos/Swinject/Swinject/issues/82","id":210692846,"user":{"login":"yoichitgy","id":965994,"avatar_url":"https://avatars.githubusercontent.com/u/965994?v=3","gravatar_id":"","url":"https://api.github.com/users/yoichitgy","html_url":"https://github.com/yoichitgy","followers_url":"https://api.github.com/users/yoichitgy/followers","following_url":"https://api.github.com/users/yoichitgy/following{/other_user}","gists_url":"https://api.github.com/users/yoichitgy/gists{/gist_id}","starred_url":"https://api.github.com/users/yoichitgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoichitgy/subscriptions","organizations_url":"https://api.github.com/users/yoichitgy/orgs","repos_url":"https://api.github.com/users/yoichitgy/repos","events_url":"https://api.github.com/users/yoichitgy/events{/privacy}","received_events_url":"https://api.github.com/users/yoichitgy/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T00:06:53Z","updated_at":"2016-04-16T00:06:53Z","body":"@axenovV thanks for the question😃 How does definition.parent work?"}}