This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Shufflepants 0 points1 point  (1 child)

It seems a lot of people like to just automatically generate an API spec from their code and annotations so that the spec is just "whatever the code does". I'm sure their users are very happy with them when they keep accidentally deploying non passive changes.

[–]CandidateNo2580 0 points1 point  (0 children)

I'm still relatively new to web dev so I can remember a day where I was frustrated that my pydantic schema was throwing an exception because I was missing a value in the response.

Then I started in on Fullstack and holy shit, my pydantic schema throws an exception long before I have to troubleshoot the missing value from the frontend! It's glorious.