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
If you use a variable rather than a static string for @InjectableName it does not actually use the name (it defaults to nil).
@InjectableName
For example, this does not work:
@Injectable struct SomeStruct { @InjectableName(name: Constants.someName) let someDependency: Dependency }
However this does:
@Injectable struct SomeStruct { @InjectableName(name: "some_name") let someDependency: Dependency }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you use a variable rather than a static string for
@InjectableName
it does not actually use the name (it defaults to nil).For example, this does not work:
However this does:
The text was updated successfully, but these errors were encountered: