Skip to content
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 Ember.required #10668

Merged
merged 1 commit into from
Mar 19, 2015
Merged

Deprecate Ember.required #10668

merged 1 commit into from
Mar 19, 2015

Conversation

wagenet
Copy link
Member

@wagenet wagenet commented Mar 19, 2015

Still needs deprecation link.

I also admit I'm a bit confused about why the CoreObject actually needs
REQUIRED. I tried to get rid of it and everything broke.

rwjblue added a commit that referenced this pull request Mar 19, 2015
@rwjblue rwjblue merged commit 8c84524 into emberjs:master Mar 19, 2015
@wagenet
Copy link
Member Author

wagenet commented Mar 20, 2015

@rwjblue do we want a deprecation link for this?

rwjblue added a commit to rwjblue/ember-autoresize that referenced this pull request Apr 23, 2015
`Ember.required` hasn't really worked properly, and was deprecated in emberjs/ember.js#10668.
avdv added a commit to avdv/ember-resource that referenced this pull request May 27, 2015
As of Ember 1.12 a deprecation warning is emitted to the console when
using `Ember.required`:

```
DEPRECATION: Ember.required is deprecated as its behavior is inconsistent and unreliable.
        at Object.required (http://genesis.rbthree.exa-online.de/static-assets/vendor.js:23929:22)
        at http://genesis.rbthree.exa-online.de/static-assets/vendor.js:79332:17
        at http://genesis.rbthree.exa-online.de/static-assets/vendor.js:80572:2
```

So, remove any usage of `Ember.required` since it hasn't really worked properly.

See emberjs/ember.js#10668
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants