-
Notifications
You must be signed in to change notification settings - Fork 22
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
Request: Universal validators, to share between backend & frontend #45
Comments
Many thanks to @jgashe for pointing out https://json-schema.org/, which seems like it has plenty of implementations that work towards this goal (one source of truth in JSON, able to be validated by many different languages). Would love to see if someone's used Schema in that way |
Thanks for the tag, @jackkoppa! I would love to talk about this from the perspective of the backend (I've used this strategy in both Java and Elixir), but I'm not the right person to do it from the js/frontend side. If someone has used JSON schema/tooling on the frontend it could be fun to tag team this talk. |
@jackkoppa @jgashe I'd be able to talk about using it in Python and in Node.js, but unfortunately again don't have experience with it on the frontend. |
Thanks @jgashe & @necaris - that experience sounds perfect! I'll try to promote this to a few other frontend friends, to see if they've used the Schema strategy there. I'd be very excited about a talk framed as "Using JSON Schema for Validation" Will keep you posted 👍 |
Hey folks! DCJS would love to have a speaker present on this as it relates to front end dev... feel free to hit me up, or cross-post on https://github.com/dcjs/talks |
Talk Request
Topic(s):
Universal validators
Additional Notes:
Anyone with experience writing universal validation methods for form inputs, to be shared between front & back end validation.
Most likely, this could take the form of something like joi: https://www.npmjs.com/package/joi
Though I'd be interested in any approach that people have taken to synchronize front & back end validation, including making all validation requests async.
What would the ideal length be?
On Behalf Of
Requesting people or Meetups:
The best way to reach out to them:
Here on GitHub
The text was updated successfully, but these errors were encountered: