Models that extend DS.Model using ES6 class syntax not picked up by Inspector
See original GitHub issueModels written this way don’t seem to be picked up by the Inspector. Here’s a related thread. The models seem to be working fine otherwise.
export default class LayerGroup extends Model {}
Thoughts?
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
“Super” and “Extends” In JavaScript ES6 - Medium
Class declaration in ES6 directly uses class keyword followed by defining of instance variables inside the constructor. In traditional ...
Read more >As a JS Developer, This Is What Keeps Me Up at Night - Toptal
A child of an ES6 class is another type definition which extends the parent with new properties and methods, which in turn can...
Read more >[Feature] Add hooks methods to ES6 class models (advanced ...
First of all, I want to say that ES6 class models is the amazing thing, which allows covering mongoose models with static analysis...
Read more >Backbone and ES6 Classes Revisited | benmccormick.org
The first solution is to define a constructor function for each Backbone object that has properties, and pass the properties directly to the ......
Read more >ES6 Class Multiple inheritance - javascript - Stack Overflow
An object can only have one prototype. Inheriting from two classes can be done by creating a parent object as a combination of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, it should work from Ember 3.3+…
Great !