Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation / binding: renames DTO struct #354

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

GustavoSept
Copy link
Contributor

A DTO (Data Transfer Object) is meant to either:

  • Represent data received from the client in requests.
  • Represent data sent to the client in responses.

A struct that is used for internal business logic is not normally named "DTO".
This may cause confusion for some developers, specially new ones coming fresh from JavaScript.

A DTO (Data Transfer Object) is meant to either:
- Represent data received from the client in requests.
- Represent data sent to the client in responses.

A struct that is used for internal business logic is not normally named "DTO".
@aldas aldas merged commit 98c4c20 into labstack:master Nov 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants