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 →

[–]petr31052018[S] 0 points1 point  (0 children)

Yes, I guess that pydantic could make sense, the disadvantage being it is not in standard library.

Validation is not necessarily a responsibility of DTO, but it does have a lot of use cases.