Comments (7)
The latest version of ember-decorators
v5 should work.
@ember-decorators/argument
is going to need some work to transition back to stage 1, it won't be usable with the polyfill unfortunately 😕
from ember-decorators.
problem is I am getting this error with ember-decorators => v5.2 and ember 3.9
i guess I will go back to ember 3.8 because this seems v6 like it is not really done yet ( integrated with ember 3.9 ) or polyfill
from ember-decorators.
v6 is complete and ready. @ember-decorators/argument
, which is a separate library that isn't currently being maintained too much, is not ready unfortunately, but I recommend upgrading if you can.
from ember-decorators.
You may also want to run a yarn upgrade
to ensure you have the latest version, because we fixed that bug with 3.9 in 5.1.4: https://github.com/ember-decorators/ember-decorators/blob/v5.1.4/packages/utils/addon/computed.js#L24
It's possible you have another addon including a different version of this addon
from ember-decorators.
ok .. sounds good but what about ember-data decorators ( where do i get those from ? ) with v6 and polyfil ?
from ember-decorators.
You can use DS.attr
, DS.belongsTo
, and DS.hasMany
directly now.
class Person extends Model {
@DS.attr() name;
}
Make sure you add parenthesis
from ember-decorators.
got it , thanks , might be good to slap that there in the docs ( the v6.0.0 release notes maybe )
from ember-decorators.
Related Issues (20)
- v5.2 MS Edge 18: Object doesn't support property or method 'apply' HOT 19
- @service router is undefined HOT 8
- Mixin pattern for polymorphic relationships doesn't seem to work with native classes HOT 1
- @service decorator fails on older browsers like IE11, Chrome 41 (Googlebot) HOT 8
- Polyfills for Symbol, Array.find are required to run on older browsers like IE11
- `@sort` deprecation message missing replacement code HOT 3
- ember-data decorators HOT 2
- ember-typescript-cli v2 HOT 6
- Question: why is @ember-decorators/babel-transforms still referenced in v6? HOT 2
- attribute component decorator receiving array instead of string HOT 2
- `@service` decorator doesn't work with ember 3.10.0 HOT 9
- `@layout` decorator doesn't work in ember addon HOT 5
- 5.1.4 / 5.2.0 not compatible with iOS 9.3.5 HOT 3
- Recommend usage of `ember-cli-dependency-lint`
- Detect when incompatible versions of `ember-decorators` are clobbering one another
- Add @classNameBindings and @attributeBindings class decorators HOT 2
- 6.1.0: @classNameBindings and @attributeBindings
- Build error: Generic type 'AttrOptions<T>' requires 1 type argument(s).
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-decorators.