You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/why.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ Basically what *attrs* was in 2015.
49
49
Pydantic is first and foremost a *data validation & type coercion library*.
50
50
As such, it is a capable complement to class building libraries like *attrs* (or Data Classes!) for parsing and validating untrusted data.
51
51
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/):
53
53
Is it really necessary to re-validate all your objects while reading them from a trusted database?
54
54
Should the shape of your web API really apply design pressure on your business objects and therefore business code?
0 commit comments