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

Access Service from validator class

Aperta
#307 0 commenti 4 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
215
Fork
98
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It would be neat if one could access other ember services from within a validator class.

I understand the idea of using POJO and vanilla classes (validated-changeset is generic).

But since this is (in practice) very tied to Ember, in my view it'll make more sense to be coupled with Ember more tightly.

Partly related:
https://github.com/poteto/ember-changeset-validations/discussions/306

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.