[RFC#236] Deprecate Ember.String.loc and {{loc}}#19211
Conversation
|
I think I'm missing something obvious in the tests but alas, I cannot figure it out at the moment. If anyone can lend a hand, please do 🙏 |
|
It seems I was not using the |
packages/@ember/string/index.ts
Outdated
| @public | ||
| */ | ||
| export function loc(str: string, formats: any[]): string { | ||
| deprecate('loc is deprecated.', false, { |
There was a problem hiding this comment.
This is pretty short and sweet. Do you think we need to say something a bit longer here?
There was a problem hiding this comment.
I'm finishing the deprecation guide and then I'll update the ember.js side with the final link and text!
packages/@ember/string/index.ts
Outdated
| url: 'https://deprecations.emberjs.com/v3.x#toc_ember-string-loc', | ||
| since: { | ||
| available: '3.25', | ||
| }, |
|
@rwjblue description updated. Also pinged other learning team members. |
jaredgalanis
left a comment
There was a problem hiding this comment.
Looks good 👍, one small thing.
rwjblue
left a comment
There was a problem hiding this comment.
Looks good, just needs that one change of for in the deprecation.
6f30002 to
ee7385d
Compare
|
@locks - Can you squash down the commits? |
26cdd3f to
452c392
Compare
452c392 to
c7526f1
Compare
|
Rebased and squashed! |
Part of RFC#236 -
Ember.Stringdeprecation.Tasks
Ember.String.loc{{loc}}