From 4cebf2f5ba8c2035abdeb1746e167425fcf7665d Mon Sep 17 00:00:00 2001 From: Chris Ng Date: Fri, 1 Mar 2019 10:04:28 -0500 Subject: [PATCH] blog(embertimes87): Classic Class Owner Tunnel --- source/blog/2019-03-01-the-ember-times-issue-87.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/blog/2019-03-01-the-ember-times-issue-87.md b/source/blog/2019-03-01-the-ember-times-issue-87.md index 64661bf9cc..9bfe0d3de0 100644 --- a/source/blog/2019-03-01-the-ember-times-issue-87.md +++ b/source/blog/2019-03-01-the-ember-times-issue-87.md @@ -10,7 +10,7 @@ responsive: true This week: **Take and share** the **2019 Ember Community Survey** 🐹, Ember 3.8 released 🚀 - +Dig through the **Classic Class Owner Tunnel RFC** 🕳, ...and a brand-new **Readers' Question** 🤓 for you! --- @@ -58,8 +58,13 @@ This release also contains 5 deprecations for Ember, so if you plan on upgrading --- -## [SECTION TITLE](#section-url) +## [Classic Class Owner Tunnel RFC 🕳](https://github.com/emberjs/rfcs/pull/451) + +[@pzuraq](https://github.com/pzuraq) opened an RFC around making `getOwner` and explicit injections work in classic class constructors since the [Native Class Constructor Update RFC](https://github.com/emberjs/rfcs/blob/master/text/0337-native-class-constructor-update.md) changed the way that classic classes were constructed. + +The Classic Class Owner Tunnel RFC proposes to make _explicit_ injections work for the class’s constructor method. However, _implicit_ injections will still only be available during `init`, because they are passed in and assigned as `args`. The _implicit_ injections will be caught using development-mode assertions which would direct users to add the injection explicitly (ideally), or to use `init`. +Read the full details on the [Classic Class Owner Tunnel RFC](https://github.com/emberjs/rfcs/pull/451) on GitHub! ---