0

I'm using the string_validator package that I forked from an older unmaintained package. I was wondering if Aqueduct has some sort of string validation already built in? If if does, I couldn't find it. I'd like to validate an email address and add password constraints.

Suragch
  • 484,302
  • 314
  • 1,365
  • 1,393

1 Answers1

1

Yes, there are a handful of built in validators that you annotate database fields with. You can also create new validators that use methods from the package you shared. See http://aqueduct.io/docs/db/validations/

Joe Conway
  • 1,566
  • 9
  • 8