Skip to content
#

validation

Here are 3,861 public repositories matching this topic...

renta
renta commented Mar 24, 2021

Package version eg. v9, v10:

github.com/go-playground/locales v0.13.0
github.com/go-playground/universal-translator v0.17.0
github.com/go-playground/validator/v10 v10.2.0

Issue, Question or Enhancement:

Golangci-lint (https://github.com/golangci/golangci-lint) comes with a errorlint linter (https://github.com/polyfloyd/go-errorlint). When I switched it on, I got this issue f

express-validator
finction
finction commented Sep 11, 2021

Describe the bug

https://express-validator.github.io/docs/custom-validators-sanitizers.html

On this page there is an example where it is checked if an email is already in use by accessing a data repository from a validator. Practice like this is bad as you'll only get a validation error if your database connection is dead for example. Proper error handling in such cases could be problemat

Improve this page

Add a description, image, and links to the validation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the validation topic, visit your repo's landing page and select "manage topics."

Learn more