RFC: Getter CP readOnly by default#12
Conversation
0000-read-only-cp-syntax.md
Outdated
|
@tomdale r? |
|
What's the status here? Should we rebase and merge? |
|
pending @wycats pings |
|
Now that the new CP syntax is enabled in canary this should not take much time. I can take care of this since I already know that part of the codebase. |
|
@cibernox - I believe that there may be some open questions (just from reading the comments above), but it should be ready for initial implementation (and that could help answer some of those questions...). |
|
After discussing at the core team, we realized we get this for free when we migrate to the ES5 getter form. |
|
@tomdale I do have a local branch where I implemented this and IIRC it required very little changes. The concerns of the core team are related with this being deprecated with little notice? |
|
example of the future: export class extends Ember.Object {
@computed
otherName() {
}
@computed
get fullName() {
}
};
The benefit of this, is a totally clean upgrade process. A future RFC will explore and propose the formal adoption of decorators in ember. |
|
I see it and I like it. |
👍 |
|
@cibernox someone, (maybe you or me) should write up an RFC for the future integration of decorators. https://github.com/rwjblue/ember-computed-decorators is a fun example, but since babel fixed some things some serious issues (chaining is broken) now work. We should likely fix that soon, so we can continue to test in userland and the ES2016 spec matures. |
Add option for JSON output to help command
No description provided.