The Wayback Machine - https://web.archive.org/web/20201129002625/https://github.com/uber-go/fx/issues/673
Skip to content
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

dig.As #673

Open
rssathe opened this issue Apr 19, 2019 · 3 comments
Open

dig.As #673

rssathe opened this issue Apr 19, 2019 · 3 comments

Comments

@rssathe
Copy link

@rssathe rssathe commented Apr 19, 2019

How do I use dig.As with an fx app?

@glibsm
Copy link
Collaborator

@glibsm glibsm commented Apr 19, 2019

dig.As hasn't been released yet, you can see uber-go/dig#235 for why it was halted slightly.

The plan for usage inside fx is through fx.Annotated (not implemented yet) that will function similarly to how fx.Annotated can do named and grouped params.

@glibsm
Copy link
Collaborator

@glibsm glibsm commented Apr 19, 2019

Going to leave this issue open to track the fx.Annotated.As work.

@phamtai97
Copy link

@phamtai97 phamtai97 commented Sep 7, 2020

Hi @glibsm
I am having the same problem as you, the issues have been resolved yet ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.