adopted-ember-addons / adopted-ember-addons/ember-changeset

Validation of associated models (Question)

Offen
#118 9 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
425
Forks
136
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,

I am using "ember-changeset" along with "ember-changeset-validation" for client side validation.
Going through the docs, I couldn't find any information regarding how changeset works with ember model association (belongsTo, hasMany).

Currently, I require validation of objects having hasMany relation to my model, Am I supposed to create changeset for every objects in the hasMany association ? This could be a tedious process when the objects are being added/removed dynamically.

Would really like to know the opinion of "ember-changset" regarding this case.

Thanks

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.