Closed EisenbergEffect closed 8 years ago
:+1:
Something like this would be awesome this.validation = validation.on(this).schema(jsonSchema)
.
I'd love this. I currently write validations for backend and frontend.
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.
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!
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.