Aurelia 2 provides a resolve function which allows constructor parameter injection to be replaced with property injection.
I find this approach more scalable since it removes the need to override constructors when adding new injected services.
Per this discussion following @bigopon's suggestion I propose backporting resolve to Aurelia 1 if the required effort is not overwhelming.
This would also help developers to prepare their applications for Aurelia 2.
Due to breaking changes in TS decorators, decorators on constructor parameters will not work anymore in Aurelia 2.
Aurelia 2 provides a
resolve
function which allows constructor parameter injection to be replaced with property injection.I find this approach more scalable since it removes the need to override constructors when adding new injected services.
Per this discussion following @bigopon's suggestion I propose backporting
resolve
to Aurelia 1 if the required effort is not overwhelming. This would also help developers to prepare their applications for Aurelia 2.