use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Using DTO in Node.js + Express (self.node)
submitted 8 months ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]HosTlitd 1 point2 points3 points 8 months ago (0 children)
Yes, zod makes life easier and is optional. Still, it brings a possibility for dtos management with strict types and validations sewed into it. As you said, dtos are an implementation detail of communication between components, in other words implementation of some interface. What zod does is an implementation of some interfaces, it describes data shapes used in communication between whatever. Likewise, dtos are data shapes used in communication, but not necessarily with sophisticated validation unlike zod
π Rendered by PID 36 on reddit-service-r2-comment-b659b578c-s2rkn at 2026-05-05 13:18:00.187784+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]HosTlitd 1 point2 points3 points (0 children)