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

Change what constructors are considered pass-through #78

Merged
merged 1 commit into from Jan 26, 2022

Conversation

flash-gordon
Copy link
Member

@flash-gordon flash-gordon commented Jan 25, 2022

This PR addresses #77. Using ... for calling super methods is not the only way this syntax works, it also works for delegation. From dry-auto_inject's POV there's no way to figure out what's going to happen after delegation, it may work, it may not.

I removed the old spec (it didn't work btw: it didn't start falling after the change) and changed what can be considered as a pass-through constructor.

@parndt please please confirm this works for you

@flash-gordon flash-gordon force-pushed the fix-injection-with-delegation branch 2 times, most recently from 7be3d7c to d6ecd0d Compare January 25, 2022 05:30
@parndt
Copy link

parndt commented Jan 25, 2022

@flash-gordon yes this works perfectly 🎉 thank you

@flash-gordon
Copy link
Member Author

great, let's get this fixed then

@flash-gordon flash-gordon merged commit 316accf into master Jan 26, 2022
@flash-gordon flash-gordon deleted the fix-injection-with-delegation branch January 26, 2022 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants