-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
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
[BUG/FUTURE] add custom IsDestType in RegisterDependency #1842
Comments
…tcher and hero.Dependency.Match to fullfil the feature request asked at: #1842
Hello @RelicOfTesla, I've pushed a commit which does that and more. Now you have the option to change the default way of how "matchDependency" behaves with two ways:
Take a look and share your feedbad, don't hesitate to ask more! |
Thanks. |
[bug] old source code panic when RegisterDependency(&hero.Dependency{ /Match : nil/, ...... }) |
Hello @RelicOfTesla, why do you manually construct a &hero.Dependency? I can't control the parameters there. You should just use RegisterDependency(customStructValueOrFunctionHere). |
The text was updated successfully, but these errors were encountered: