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: 나의 뱃지 목록 조회 응답 변경 사항에 맞게 수정 #292

Merged
merged 12 commits into from
Oct 31, 2024

Conversation

hee9841
Copy link
Collaborator

@hee9841 hee9841 commented Oct 30, 2024

🔗 이슈 연결

🚀 구현한 API

  • X

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

  • DTO 변경사항
    • AchievedBadgesResponse의 AchievedBadge를 공통으로 사용하기 위해 분리합니다.
    • 응답 형식의 변경으로 사용하지 DTO는 삭제합니다.
  • 리파지토리 변경사항
    • 기존에 뱃지 목록을 가져오는 함수를 사용하지 않아 JooqBadgeRepository를 삭제합니다.
    • 뱃지 목록을 가져오는 함수를 BadgeAchievementRepository에 추가합니다.
  • BadgeType 변경 사항
    • 뱃지 타입의 이름을 리턴하기 위해 타입 이름을 나타내는 name를 추가합니다.
    • 리턴 시 보여지는 타입을 순서(개인기록 -> 러닝거리 -> ..순으로)로 리턴하기 위해 'showPriority'을 추가합니다.

🔍 리뷰 요청/참고 사항

  • 수정하다보니 파일이 많이 변경되었어요.
  • 리턴 시 피그마의 뱃지 타입순 으로 리턴하는 게 좋을 것 같아서 배지 타입에 우선순위를 지정해서 리턴할 수 있게 했습니다. 해당 사항은 팀 전체에게 여쭤보고 바꿔질 수 있을 것 같아요.

@hee9841 hee9841 self-assigned this Oct 30, 2024
@hee9841 hee9841 changed the title Fix: 나의 뱃지 목록 조회 응답 변경 사항 수정 Fix: 나의 뱃지 목록 조회 응답 변경 사항에 맞게 수정 Oct 30, 2024
@hee9841 hee9841 requested a review from WonSteps October 30, 2024 14:31
@hee9841 hee9841 requested a review from WonSteps October 31, 2024 02:19
@hee9841 hee9841 merged commit 5626eb0 into main Oct 31, 2024
1 check passed
@hee9841 hee9841 deleted the fix/#286/badges-list branch October 31, 2024 10:59
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