aurelia / validation

A validation plugin for Aurelia.
MIT License
132 stars 129 forks source link

Consider json-schema #13

Closed EisenbergEffect closed 8 years ago

EisenbergEffect commented 9 years ago

It would be interested if we could build up a validation configuration based on json-schema. http://json-schema.org/ This is a lower priority than other issues. Just putting it here for a possible future addition.

heruan commented 9 years ago

:+1: Something like this would be awesome this.validation = validation.on(this).schema(jsonSchema).

RWOverdijk commented 8 years ago

I'd love this. I currently write validations for backend and frontend.

ariovistus commented 8 years ago

I have done something similar on a recent project to automatically pull server side validation from @jeremyskinner's FluentValidation into aurelia-validation, and found myself wondering if there is a standard schema somewhere. And then I thought what if you had something analogous to swagger spec, but just to describe api validations that could also be performed on client side. But anyways, some random things that occurred to me while I was working on it:

eh, tl;dr this idea is cool, I want it too.

plwalters commented 8 years ago

Thanks for submitting this / commenting on this. At this time we are closing this because we have completely re-written and are deprecating the previous feature set. If you feel this should be re-opened please feel free to review this blog post and submit either again on this repository, or on the new validatejs bridge repository

Thanks again!