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

Improve circular dependencies resolution. #26

Merged

Conversation

drodriguez
Copy link
Contributor

TODO: More complex setups cause infinite recursion.

Related to #25.

This is the small fix I talked about, but while it fixes the test and creates a good object graph, when I tried with a little more complex object graph, some other part of Typhoon start breaking down.

I have done a little test, and it also works for singleton scoped objects.

TODO: More complex setups cause infinite recursion.
jasperblues added a commit that referenced this pull request Jun 30, 2013
Improve circular dependencies resolution.
@jasperblues jasperblues merged commit 2a8866d into appsquickly:master Jun 30, 2013
@jasperblues
Copy link
Member

@drodriguez Thanks for you contribution! Definitely an improvement.

Do you have a test case where the more complex set up breaks? I think you're right, it's most likely in the block-swizzling.

@drodriguez
Copy link
Contributor Author

Yes, I will clean it and send it. I didn’t want to send something that breaks without the solution. I will try to prepare it tonight.

@jasperblues
Copy link
Member

I didn’t want to send something that breaks without the solution.

That is very kind of you :) . . We will gladly take further contributions. . However, if you're done for now, simply sending the test-case as is, would be most helpful.

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.

2 participants