-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate usage of {{render
helper with a model param
#13268
Deprecate usage of {{render
helper with a model param
#13268
Conversation
@@ -0,0 +1,54 @@ | |||
import { deprecate } from 'ember-metal/debug'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nit-pick, but this file doesn't transform anything. Can you rename to deprecate-render-model.js
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I was wondering about that (the best name for the file).
This is looking great, thanks for tackling! I left a few comments inline for tweaks/suggestions, and when you are done can you squash commits? We will also need a PR to the website repo adding this deprecation to the list for Ember 2.6. |
45f6720
to
87691e3
Compare
87691e3
to
39c71b4
Compare
@rwjblue No problem, it was fun. Made the requested changes. I'll work on the website update later/tomorrow. |
|
||
deprecate(deprecationMessage(moduleName, node, param), false, { | ||
id: 'ember-template-compiler.deprecate-render-model', | ||
until: '3.0.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops! I just realized that this doesn't include the URL from the website PR. Can you submit a follow up to add that in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Addresses first part of #13183.
This is my first time diving into Ember internals like this, so I'm pretty sure it won't be 100% off the bat. Also not sure about how to tag this.