Skip to content

Conversation

@locks
Copy link
Contributor

@locks locks commented Oct 27, 2020

Part of emberjs/rfc-tracking#26.
PR twin of ember-learn/deprecation-app#696.

This PR deprecate using the String.prototype extension version of @ember/string methods.
Calling "Tomster and Zoey".underscore() will throw a deprecation error.

I did not apply the wrapper method to loc as that is completely deprecated and has its own id.

@locks locks changed the title deprecate String prototype extensions [RFC#236] Deprecate String prototype extensions Oct 27, 2020
@locks locks force-pushed the deprecate-ember-string-prototype-extension branch from e94b9bf to f22a636 Compare October 27, 2020 11:34
@locks locks force-pushed the deprecate-ember-string-prototype-extension branch from f22a636 to ec07cdc Compare October 27, 2020 11:43
Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to wrap the prototype extension tests in expectDeprecation

@locks locks force-pushed the deprecate-ember-string-prototype-extension branch from c29007e to 6e1c963 Compare October 27, 2020 13:34
@locks locks requested a review from rwjblue November 10, 2020 02:40
@rwjblue rwjblue merged commit d2ba6c0 into master Nov 11, 2020
@rwjblue rwjblue deleted the deprecate-ember-string-prototype-extension branch November 11, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants