Work on docs, getting started guide

This commit is contained in:
Andrew Brookins 2021-10-29 17:31:36 -07:00
parent ad6a323fb8
commit f44b7fa664
10 changed files with 434 additions and 12 deletions

View file

@ -1,6 +1,6 @@
# Validation
Redis OM uses [Pydantic](pydantic-url) behind the scenes to validate data at runtime, based on the model's type annotations.
Redis OM uses [Pydantic][pydantic-url] behind the scenes to validate data at runtime, based on the model's type annotations.
## Basic Type Validation
@ -68,4 +68,6 @@ Once again, we get the valiation error:
pydantic.error_wrappers.ValidationError: 1 validation error for Customer
email
value is not a valid email address (type=value_error.email)
```
```
[pydantic-url]: https://github.com/samuelcolvin/pydantic