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

Fix bug in injectProperties when dealing with subclassing #16

Merged
merged 1 commit into from
May 9, 2013

Conversation

BrynCooke
Copy link

#15 has a bug where Knight would try to be injected with definitions from CavelryMan and CavelryMan would not be injected with definitions from Knight.

I've fixed this and added a unit test.

However it does raise the question what should be injected when there is a definition of quest that is different for CavelryMan and Knight? I would expect CavelryMan definition to override the Knight definition however currently it is last definition wins.

How does Typhoon handle this normally?

jasperblues added a commit that referenced this pull request May 9, 2013
Fix bug in injectProperties when dealing with subclassing
@jasperblues jasperblues merged commit 63297c4 into appsquickly:master May 9, 2013
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