-
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: ZonedDateTime ObjectMapper가 인식하도록 수정 #704
fix: ZonedDateTime ObjectMapper가 인식하도록 수정 #704
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 as PR comments)
Additionally, you can add 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 (3)
- src/main/java/com/gdschongik/gdsc/domain/order/dao/OrderQueryMethod.java (1 hunks)
- src/main/java/com/gdschongik/gdsc/global/common/constant/RegexConstant.java (1 hunks)
- src/main/java/com/gdschongik/gdsc/global/config/ObjectMapperConfig.java (4 hunks)
Additional comments not posted (3)
src/main/java/com/gdschongik/gdsc/global/common/constant/RegexConstant.java (1)
12-12
: 정규 표현식 상수 추가 승인새로운 시간대 정보를 포함한 날짜-시간 형식에 대한 정규 표현식 상수
ZONED_DATETIME
이 잘 추가되었습니다. 이는 시간대를 고려한 날짜 처리에 필수적입니다.src/main/java/com/gdschongik/gdsc/domain/order/dao/OrderQueryMethod.java (1)
33-33
: 메서드 로직 변경 승인
eqRecruitmentRound()
메서드에서recruitment.id
대신recruitmentRound.id
를 참조하도록 변경된 것은 적절해 보입니다. 이 변경이 기능적으로 의도된 바와 일치하는지 추가 검증이 필요할 수 있습니다.다음 스크립트를 실행하여 변경 사항이 의도된 기능과 일치하는지 확인하세요:
Verification successful
메서드 로직 변경 확인 완료
eqRecruitmentRound()
메서드에서recruitment.id
대신recruitmentRound.id
를 참조하도록 변경한 것은 코드베이스의 다른 부분과 일관되며 기능적으로 적절한 것으로 보입니다. 이 변경은 의도된 기능과 일치합니다.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the usage of `eqRecruitmentRound` method in the application. # Test: Search for the method usage. Expect: Only occurrences with the new reference. rg --type java -A 5 $'eqRecruitmentRound'Length of output: 1418
Script:
#!/bin/bash # Search for the definition and usage of `recruitmentRoundId` in the codebase rg --type java 'recruitmentRoundId' # Search for the definition and usage of `recruitmentRound.id` in the codebase rg --type java 'recruitmentRound.id'Length of output: 3919
src/main/java/com/gdschongik/gdsc/global/config/ObjectMapperConfig.java (1)
117-124
: 새로운 ZonedDateTimeDeserializer 클래스 추가 승인
ZonedDateTime
타입을 처리하기 위한 새로운 디시리얼라이저 클래스가 추가되었습니다. 이 클래스는 JSON 문자열에서ZonedDateTime
객체를 올바르게 파싱할 수 있도록 구현되어 있습니다. 이 구현이 기능적 요구사항과 코딩 표준을 충족하는지 검토가 필요합니다.
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
// ZonedDateTime | ||
module.addDeserializer(ZonedDateTime.class, new ZonedDateTimeDeserializer()); |
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.
ZonedDateTime은 serializer 필요없나요?
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.
이게 저장엔 문제없어서 추가하지않았엇는데
이번 커밋으로 JavaTimeModule로 교체하면서 추가하게 되었습니다!
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
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 (1)
- src/main/java/com/gdschongik/gdsc/global/config/ObjectMapperConfig.java (5 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/main/java/com/gdschongik/gdsc/global/config/ObjectMapperConfig.java
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
…into fix/703-add-zoned-date-time-to-objectmapper
Job Summary for GradleCheck Style and Test to Develop :: build-test
|
🌱 관련 이슈
📌 작업 내용 및 특이사항
📝 참고사항
📚 기타
Summary by CodeRabbit
새로운 기능
recruitmentRound
와의 비교를 반영했습니다.ZonedDateTime
지원을 추가했습니다.버그 수정