# Error injecting singletons in Aurelia 2

**URL:** <https://discourse.aurelia.io/t/error-injecting-singletons-in-aurelia-2/5444>\
**Category:** vNext\
**Created:** [June 12, 2024, 9:18am UTC](https://discourse.aurelia.io/t/error-injecting-singletons-in-aurelia-2/5444 "2024-06-12T09:18:27Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![m-gallesio](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/m-gallesio/32/1288_2.png) [@m-gallesio](https://discourse.aurelia.io/u/m-gallesio)\
**Post date:** [June 13, 2024, 7:16am UTC](https://discourse.aurelia.io/t/error-injecting-singletons-in-aurelia-2/5444/5 "2024-06-13T07:16:05Z")

</div>

> [@mreiche](#):
>
> instead of (which is the most intuitive way, comming from Aurealia 1)

This is no longer supported due to changes in decorators, see [here](https://ilikekillnerds.com/2024/04/psa-aurelia-2-beta-15-introduces-breaking-changes-to-decorators/) (and [here](https://discourse.aurelia.io/t/property-injection-in-in-au1-au2-resolve/5418)).

---

_[View the full topic](https://discourse.aurelia.io/t/error-injecting-singletons-in-aurelia-2/5444)._
