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

Change access level to protected in request dto class #383

Closed
seonghun-dev opened this issue Oct 7, 2023 · 0 comments
Closed

Change access level to protected in request dto class #383

seonghun-dev opened this issue Oct 7, 2023 · 0 comments
Labels
😺 API Server Api Domain 🏃🏽Batch Server Batch Domain ✨feature New feature or request

Comments

@seonghun-dev
Copy link
Collaborator

seonghun-dev commented Oct 7, 2023

DESCRIPTION

Apply access level to protected in request dto class to prevent indiscriminate object generation

@NoArgsConstructor(access=AccessLevel.PROTECTED)로 변경하면 어떨까요?
이유는 무분별하게 생성되는 객체들을 한 번 더 체크해줌으로써 의도하지 않은 엔티티 객체를 만드는 행위를 방지할 수 있다는 장점이 있다고 합니다 😀

Originally posted by @yunyoung1819 in #327 (comment)

REFERENCE

@seonghun-dev seonghun-dev changed the title change access level to protected in request dto class Change access level to protected in request dto class Oct 7, 2023
@seonghun-dev seonghun-dev added ✨feature New feature or request 😺 API Server Api Domain 🏃🏽Batch Server Batch Domain labels Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
😺 API Server Api Domain 🏃🏽Batch Server Batch Domain ✨feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant