Property injection in in AU1 (AU2 resolve)

I noticed through this that dependency injection and resolution will change in Aurelia 2.
This made me aware of AU2 resolve for property injection which seems to be quite more usable than constructor parameters (notably, it would remove the need of having to write constructors in derived classes when more and more services are added).
Is there an equivalent in Aurelia 1?

1 Like

resolve can be back ported to v1, probably there shouldn’t be any issues making this not possible. Can you help create an issue for this?

That would be great! This could help us prepare for the migration to Au 2!

2 Likes
3 Likes