Skip to content

[Needle] Handle circular dependencies #853

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 14, 2017
Merged

Conversation

lbilger
Copy link

@lbilger lbilger commented Apr 13, 2015

The problem is best shown by the changes in the test files. Depending on the order in which objects are instantiated by the factory (which seems to be arbitrary), the @NeedleInjectionProvider annotation may work for other classes or not.

…tion in all other steps classes, not only the ones that are created after the one the injection provider is defined in.
@mpkorstanje mpkorstanje added the Bug label Jul 7, 2017
@mpkorstanje mpkorstanje changed the title cucumber-needle - InjectionProviders defined using the @NeedleInjectionProvider annotation worked only for objects created after the object that contained the annotation was created [Needle] Handle circular dependencies Jul 14, 2017
@mpkorstanje mpkorstanje merged commit 18abf3c into cucumber:master Jul 14, 2017
@mpkorstanje
Copy link
Contributor

Very sensible PR. Looks good.

A belated thank you for your contribution!

@lock
Copy link

lock bot commented Oct 24, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 24, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants