3 ms·
> 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 a
by NeutralCrane 1y 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.
- causal 1y agoYeah title implies a why, but this is really just about how
- lyu07282 1y agoIts 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.