-
Notifications
You must be signed in to change notification settings - Fork 3
[feat] 마이페이지 조회 기능 #119
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
Merged
[feat] 마이페이지 조회 기능 #119
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
85f3934
:sparkles: feat: 마이페이지 기능 구현
jiwon1217 449f3b7
chore: Java 스타일 수정
e81b2ce
:recycle: refactor: dto 이름 변경(MyPage -> MyPageInfo)
jiwon1217 fd7fe2b
:recycle: refactor: userId 기반 단건 조회 쿼리 메서드로 성능 개선
jiwon1217 d1d2df3
chore: Java 스타일 수정
45972ab
:recycle: refactor: dto 이름 변경(StatWithNicknameAndUserId -> StatWithUs…
jiwon1217 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
backend/src/main/java/io/f1/backend/domain/user/dto/MyPage.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| package io.f1.backend.domain.user.dto; | ||
|
|
||
| public record MyPage(String nickname, long rank, long score, long totalGames, long winningGames) {} | ||
dlsrks1021 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
왜 여기는 customException을 쓰지 않으신건지 궁금합니다!
Uh oh!
There was an error while loading. Please reload this page.
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.
구조가 Redis 조회 -> 없으면 -> MySQL 조회로 넘어가게 되는데, 위 코드에서 던진 예외를 아래의 코드로 처리를 합니다. 그래서 해당 예외는 프론트로 내려가지 않기 때문에 CustomException 처리를 하지 않았습니다 !