Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
padjo
3 months ago
|
parent
|
context
|
favorite
| on:
Keep Pydantic out of your Domain Layer
Python has reasonably good types these days. If you were to use pydantic to Marshall stuff from the API and then put type annotations on every method below that it would be pretty bulletproof.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: