You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a composite which view-model is ConcreteViewModel1. it will instantiate the correct view-model ConcreteViewModel1 and inject the correct dependent service DataService1.
Call view-model save() it will call the correct one.
then..
Open a composite which view-model is ConcreteViewmodel2. It will again instantiate it correctly.
Call view-model save(), it will call the ConcreteViewmodel2.save().
But..
I again open a composite which view-model is ConcreteViewModel1 and then
Call view-model save() it will throw exception because in the background it's service property is of type DataService2 and it should be DataService1
Expected/desired behavior:
I expect that the injected service is the correct one.
What is the expected behavior?
I expect that the injected service is the correct one.
What is the motivation / use case for changing the behavior?
To abstract common stuff in a base class, and override the one's that changes in derived classes.
The text was updated successfully, but these errors were encountered:
I don't know which version. I don't have it in packages.json as a separate library and I'm on aurelia-framework v.1.0.7., the one that came with the skeleton: typescript-webpack-skeleton.
How to upgrade it?
I'm submitting a bug report
1.0.7
Please tell us about your environment:
Operating System:
Windows 2016 Server
Node Version:
6.9.4
4.1.1
webpack 2.1.0-beta.27
Browser:
all
Language:
TypeScript 2.1.5
Current behavior:
I don't know if this is a bug or me not doing it right.
Let's say I have this scenarion:
Now if I do this:
then..
But..
Expected/desired behavior:
I expect that the injected service is the correct one.
What is the expected behavior?
I expect that the injected service is the correct one.
What is the motivation / use case for changing the behavior?
To abstract common stuff in a base class, and override the one's that changes in derived classes.
The text was updated successfully, but these errors were encountered: