rawmodel / framework

Strongly-typed JavaScript object with support for validation and error handling.
https://rawmodel.github.io/framework/
MIT License
142 stars 16 forks source link

Feature request: Validation strategies #87

Open MoMannn opened 3 years ago

MoMannn commented 3 years ago

It would be very usefull to have validation strategies similar like populate/serialize strategies. That would greatly help so that you do not need to duplicate models for different inputs.

dani69654 commented 3 years ago

At the moment I am adding strategies to the resolver custom methods. Is someone working on this?

xpepermint commented 3 years ago

@dani69654 I think you are good to go.