-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix: 과제 미제출과 제출전을 구별하도록 수정 #721
fix: 과제 미제출과 제출전을 구별하도록 수정 #721
Conversation
Walkthrough변경 사항은 Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Job Summary for GradleCheck Style and Test to Develop :: build-test
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentHistoryStatusResponse.java (2 hunks)
- src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentSubmittableDto.java (2 hunks)
Additional comments not posted (2)
src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentHistoryStatusResponse.java (1)
35-35
: 과제 제출 상태 처리 로직 수정 승인과제 제출이 없는 경우, 과제 정보만 반환하도록 수정한 부분은 명확하게 과제 미제출과 제출 전 상태를 구분합니다. 이 변경이 다른 시스템 부분에 영향을 주지 않는지 확인하는 것이 좋겠습니다.
다음 스크립트를 실행하여 하류 처리가 올바르게 이루어지는지 확인하세요:
src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentSubmittableDto.java (1)
51-61
: 메서드 명칭 및 반환 값 변경 승인
beforeAssignmentSubmit
메서드의 명칭 변경과 반환 값으로null
을 사용하는 것은 과제 제출 전 상태를 더 명확하게 표현합니다. 이 변경이 애플리케이션 로직에 영향을 주지 않는지 확인하는 것이 좋겠습니다.다음 스크립트를 실행하여 애플리케이션 로직이 변경된 반환 값에 올바르게 대응하는지 확인하세요:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
null도 괜찮은데 enum추가해서 더 명확히 하면 더 괜찮을 것 같은데 이건 추후에 리팩토링할 때 하면 될것같기도 하네요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
실패여부는 null이 맞는 것 같은데 제출 상태는 다른 enum 값으로 넣어도 좋을 것 같네요. |
🌱 관련 이슈
📌 작업 내용 및 특이사항
📝 참고사항
📚 기타
Summary by CodeRabbit
새로운 기능
버그 수정