Git Product home page Git Product logo

Comments (7)

pzuraq avatar pzuraq commented on June 10, 2024

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.

danielspaniel avatar danielspaniel commented on June 10, 2024

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.

pzuraq avatar pzuraq commented on June 10, 2024

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.

pzuraq avatar pzuraq commented on June 10, 2024

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.

danielspaniel avatar danielspaniel commented on June 10, 2024

ok .. sounds good but what about ember-data decorators ( where do i get those from ? ) with v6 and polyfil ?

from ember-decorators.

pzuraq avatar pzuraq commented on June 10, 2024

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.

danielspaniel avatar danielspaniel commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.