Skip to content

Commit 2b6f2ce

Browse files
committed
docs: fix term
1 parent 119e043 commit 2b6f2ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/why.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Basically what *attrs* was in 2015.
4949
Pydantic is first and foremost a *data validation & type coercion library*.
5050
As such, it is a capable complement to class building libraries like *attrs* (or Data Classes!) for parsing and validating untrusted data.
5151

52-
However, as convenient as it might be, using it for your business or data layer [is problematic in several ways](https://threeofwands.com/why-i-use-attrs-instead-of-pydantic/):
52+
However, as convenient as it might be, using it for your business or domain layer [is problematic in several ways](https://threeofwands.com/why-i-use-attrs-instead-of-pydantic/):
5353
Is it really necessary to re-validate all your objects while reading them from a trusted database?
5454
Should the shape of your web API really apply design pressure on your business objects and therefore business code?
5555

0 commit comments

Comments
 (0)