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

fx.In without tagging a struct #726

Closed
abhinav opened this issue Feb 16, 2021 · 1 comment
Closed

fx.In without tagging a struct #726

abhinav opened this issue Feb 16, 2021 · 1 comment

Comments

@abhinav
Copy link
Collaborator

abhinav commented Feb 16, 2021

As we're exploring tagging parameters of a constructor as named values or
value groups (e.g. #715), we should also
explore how to specify that a parameter of a function should be treated as an
fx.In-tagged struct even if it doesn't embed fx.In.

Whatever we do here should also support customization on the embed for parity with features like uber-go/dig#273.

@abhinav
Copy link
Collaborator Author

abhinav commented Nov 3, 2023

This is now possible with fx.ParamTags.

@abhinav abhinav closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant