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

Access Service from validator class

Đang mở
#307 0 bình luận 4 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
215
Fork
98
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.