adopted-ember-addons / ember-cp-validations

Ember computed property based validations

Home Page:https://adopted-ember-addons.github.io/ember-cp-validations/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deprecation warning ember 3.9 - computed-property.volatile

fran-worley opened this issue · comments

Environment

  • Ember Version: 3.9.0
  • Ember CLI Version: 3.9.0
  • Ember CP Validations Version: 4.0.0-beta.8

Steps to Reproduce

When running ember app with the above addon versions we get the following deprecation error:

Setting a computed property as volatile has been deprecated. Instead, consider using a native getter with native class syntax. [deprecation id: computed-property.volatile]

commented

This sounds like it's linked to: #638

Replacing the computed by a getter as suggested here does not work.

@fran-worley @BitBrit @viniciussbs That should be fixed in the latest release. I'm closing the issue but feel free to reopen if the problem still exists.