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

Skip constructor params that have a default value #54

Closed
morganbovi opened this issue Sep 14, 2022 · 4 comments
Closed

Skip constructor params that have a default value #54

morganbovi opened this issue Sep 14, 2022 · 4 comments

Comments

@morganbovi
Copy link

Is your feature request related to a problem? Please describe.
Some of my dependancies specify a default value for their constructor variables.

Describe the solution you'd like
Would it be possible to skip values that are already instantiated.

Describe alternatives you've considered
Today I have to add additional dependencies to the graph that I would otherwise not have added.

@stale
Copy link

stale bot commented Mar 11, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status:wontfix This will not be worked on label Mar 11, 2023
@morganbovi
Copy link
Author

Thoughts on this? Latest solution has been nullability, but skipping would still be awesome.

@stale stale bot removed the status:wontfix This will not be worked on label Mar 12, 2023
@damianogiusti
Copy link
Contributor

@morganbovi I opened a PR that implements this feature. It will be super useful also for my use case

@arnaudgiuliani
Copy link
Member

we follow up this in PR 👍 Will be fixed for 1.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants