Remix.run Logo
NeutralCrane 4 days ago

> The core thesis is that your types received by the api should not be the same as the types you process internally.

Is it? I read the blog a couple of times and never was able to divine any kind of thesis beyond the title, but as you said, the content never actually explains why.

Perhaps there is a reason, but I didn’t walk away from the post with it.

lyu07282 4 days ago | parent | next [-]

Its confusing to ask that, because that's a different subject unrelated to pydantic or python. That's just what you are supposed to do in "clean architecture"/ddd, you can ask the same question in java or whatever.

causal 4 days ago | parent | prev [-]

Yeah title implies a why, but this is really just about how