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

Support Injected Classes #37

Closed
Werebunny opened this issue Sep 13, 2019 · 0 comments · Fixed by #50
Closed

Support Injected Classes #37

Werebunny opened this issue Sep 13, 2019 · 0 comments · Fixed by #50
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Werebunny
Copy link
Member

Expected Behavior

Classes can be automatically injected by stubs or mocks by the Faker. Given class T, this would return Injected which would contains a populated T, and a method to X get, X being a type that was injected into T.

Current Behavior

Missing.

Possible Solution

Just reflect on constructor and Fake classes.

Additional Information

Less coupling.

@Werebunny Werebunny added enhancement New feature or request good first issue Good for newcomers labels Sep 13, 2019
@Werebunny Werebunny added this to To do in Create & Track via automation Sep 13, 2019
Create & Track automation moved this from To do to Done Oct 15, 2019
Werebunny added a commit that referenced this issue Oct 15, 2019
* Add auto inject support with Injected.
@Werebunny Werebunny self-assigned this Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Development

Successfully merging a pull request may close this issue.

1 participant