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

Fix: 뱃지 리스트 조회 API 응답형식 변경 #277

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

hee9841
Copy link
Collaborator

@hee9841 hee9841 commented Oct 24, 2024

🔗 이슈 연결

🚀 구현한 API

  • X

💡 반영할 내용 및 변경 사항 요약

  • 뱃지 리스트 응답에 achievedAt(성취 날짜값을 추가합니다.)
  • 사용자가 뱃지를 성취했으면 achievedAt에 성취한 날짜가, 아니면 null값을 리턴합니다.

🔍 리뷰 요청/참고 사항

  • BadgeWithAchievedStatus하고 BadgeWithAchieveStatusAndAchievedAt부분을 합칠 수 있을 것 같은데 해당 부분은 시간되면 추후 리팩터링 하겠습니다.

- BadgeWithAchievedStatus에 LocalDateTime achievedAt 값 추가
- BadgeWithAchieveStatusAndAchievedAt의 achievedAt 타입 OffsetDateTime에서 LocalDateTime으로 변경
- BadgeWithAchieveStatusAndAchievedAt의 achievedAt 타입변경으로 서비스 단 isRecent함수 criterionDate 인자타입 LocalDateTime으로 변경
@hee9841 hee9841 added the feature 기능 추가 label Oct 24, 2024
@hee9841 hee9841 self-assigned this Oct 24, 2024
Copy link
Member

@Jaewon-pro Jaewon-pro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다 👍
말씀하신 것처럼 BadgeWithAchievedStatus쪽 리팩토링은 나중에 진행해도 될 것 같아요

@hee9841 hee9841 merged commit 9cbac37 into main Oct 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

배지 리스트 조회 API 응답형식 변경
2 participants