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

Octane support?

GCheung55 opened this issue · comments

Will ember-cp-validations support Octane and @tracked properties?

If not, what's involved in adding support?

#661 is a definite blocker but more importantly I think the design of this library differs substantially from what the Octane programming model is. Check out the discussion in #topic-forms and particularly @trek's point there

Is there an update if there is plans that ember-cp-validations will support Octane and glimmer components?

Hi, there is a work around provided by @lifeart on discord a couple of days bacK: https://gist.github.com/lifeart/941c3988e152624b0f2eff385d2553d0

Hi, there is a work around provided by @lifeart on discord a couple of days bacK: https://gist.github.com/lifeart/941c3988e152624b0f2eff385d2553d0

I've tested similar approach, works fine but it needs @classic decorator to work properly. Feels like temporary solution.

I've tested similar approach, works fine but it needs @classic decorator to work properly. Feels like temporary solution.

Contemplating the options of moving to changeset library, stopped using it because it lacked support for nested keys, recently they release a brand new version in line with Octane and generally speaking the community regards it as better than cp.

@fsmanuel can this issue be closed now?