feat: 사용자 정보 조회 로직 작성 #20
Merged
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.
사용자 정보 조회 로직 작성
📝 개요
사용자 정보 조회 로직을 작성하였습니다.
⚙️ 구현 내용
사용자 정보를 권한에 따라 조회하고 dto로 반환하도록 하였습니다.
📎 기타
사용자 정보 조회에 캐싱 설정을 해서 좀 더 빠르게 할까 생각도 했지만
나중에 사용자 정보에 경험치 혹은 레벨이 들어가면 자주 변경이 일어날 수도 있을 것 같아서
일단은 캐싱을 적용하지 않았습니다.
🧪 테스트 결과