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
I'm new to samber/do
Currently I try v2 beta7, but have an issue
i := do.New() s1 := i.Scope("feature1") s2 := i.Scope("feature2") do.Provide(i, NewClient) do.Provide(s1, provideConfig1) do.Provide(s2, provideConfig2) do.MustInvoke[Client](s1)
This will cause issue could not find service ...Config
could not find service ...Config
But with
do.Provide(i, NewClient) do.Provide(i, provideConfig1) do.Provide(s2, provideConfig2) # or do.Provide(s1, NewClient) do.Provide(s1, provideConfig1) do.Provide(s2, provideConfig2)
do.MustInvoke[Client](s1) will be ok
do.MustInvoke[Client](s1)
Do I use it wrong or missing something?
Thank for support
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm new to samber/do
Currently I try v2 beta7, but have an issue
This will cause issue
could not find service ...Config
But with
do.MustInvoke[Client](s1)
will be okDo I use it wrong or missing something?
Thank for support
The text was updated successfully, but these errors were encountered: