Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal - add client side validation #58

Open
borisirota opened this issue Feb 12, 2015 · 0 comments
Open

Proposal - add client side validation #58

borisirota opened this issue Feb 12, 2015 · 0 comments

Comments

@borisirota
Copy link
Contributor

Currently there is support for required and partial support for pattern (is there a reason why its supported only in query parameters ?).

I think that for the node client it can be very convenient right away.
The angular client is more complex because in order to provide a good user experience its need to be through the form validation mechanism.

Anyway, I'm using the angular client and I'll try to think what is the best way to use one validation mechanism (based on the swagger spec) while still embracing angular forms -> I'm trying to use the swagger as one source of truth whenever I can without making manual syncing 😉

The amazing swagger-tools project already implemented this kind of validation but as a middleware for the server side. I submitted this issue in order to maybe taking advantage of that.

I think that support for that will make this project even more awesome :)

@wcandillon Is it something that you think should be part of this project ?

Boris :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant