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

Access Service from validator class

Open
#307 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
215
Forks
98
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.