aurelia / validatejs

Enables expressive validation using decorators and/or a fluent API.
MIT License
22 stars 23 forks source link

Validate sub-object #92

Closed ma3yta closed 8 years ago

ma3yta commented 8 years ago

Is there a way to flow validations down to a sub-object? I use domain model classes in my views rather than put all the properties on my viewmodel, so I guess I'll have to put validations on my domain models, but they have references to the other domain models and I'd like to validate the whole thing