ember-decorators / ember-decorators/ember-decorators

`@sort` deprecation message missing replacement code

Open
#431 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
357
Forks
93
PR merge metrics
No merged PRs in 30d

Description

When I use a line like this in my Ember 3.9.0 app (w/ `ember-decorators` and `ember-decorators-polyfill`) I get a deprecation warning (expected) with apparently missing / incorrect instructions (unexpected).

```js
import { mapBy, sort, uniq } from '@ember-decorators/object/computed';
```

![image](https://user-images.githubusercontent.com/1633459/55812442-a033bd00-5ab0-11e9-95a3-dbf89ef4f6c1.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the warning in an Ember 3.9.0 app using ember-decorators and ember-decorators-polyfill with the shown @ember-decorators/object/computed import. Trace where the @sort deprecation message is generated and compare its instructions with the expected replacement. Done means the warning provides correct replacement code.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.