We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
+[TyphoonDefinition withClass:configuration:] allows injection of same property twice.
[TyphoonDefinition withClass:[AuthorizationInteractor class] configuration:^(TyphoonDefinition *definition) { [definition injectProperty:@selector(presenter) with:[self authorizationPresenter]]; [definition injectProperty:@selector(accountService) with:[self.serviceAssembly accountService]]; [definition injectProperty:@selector(peopleService) with:[self.serviceAssembly peopleService]]; [definition injectProperty:@selector(accountService) with:[self.serviceAssembly accountService]]; }];
In this code I'm injecting accountService property twice. I expected an exception or NSLog at least.
The text was updated successfully, but these errors were encountered:
@juyka Thanks for reporting. We'll fix shortly.
Sorry, something went wrong.
Added a warning for property injections duplication (Issue #447)
b97c127
etolstoy
No branches or pull requests
+[TyphoonDefinition withClass:configuration:] allows injection of same property twice.
In this code I'm injecting accountService property twice. I expected an exception or NSLog at least.
The text was updated successfully, but these errors were encountered: