adopted-ember-addons / adopted-ember-addons/ember-data-model-fragments
Update Fragment blueprint to use class instead of extend
Open
- Dominant language
- TypeScript
- Stars
- 367
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
As Ember team is deprecating EmberObjects and it's recommending to use ES6 classes, I think we can update the Fragment blueprint to follow this syntax:
```
import MF from 'ember-data-model-fragments';
export default class <% name %> extends MF.Fragment {
<% attrs %>
}
```
What do you think? I may leave a PR with my proposal.
Contributor guide
Assessment
This issue has not been assessed yet.