Naming convention for input and output of Controllers #208
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I always try to name an object which is deserialized from body request as If you like naming returned objects as |
Beta Was this translation helpful? Give feedback.
I always try to name an object which is deserialized from body request as
**Request
to distinguish it from the**Command
.If you like naming returned objects as
**Response
i think it is good too. Important thing is that it is a data structure from the conceptual perspective, this is main reason why I call it Dto