ember-changeset-validations icon indicating copy to clipboard operation
ember-changeset-validations copied to clipboard

Access Service from validator class

Open sandstrom opened this issue 4 years ago • 0 comments

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

sandstrom avatar Jul 02 '21 13:07 sandstrom