Validate v0.2.1 API Reference

Modules

Validate, validate incoming requests in an easy to reason-about way.

Validate.required/1. Validates the presence of a value. If it's a string, checks that it's not empty If it's a list, checks that it has at least one item If it's a map, checks that it has at least one property