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

[FEAT] 매니저가 생성한 리그 전체 조회 #194

Closed
wants to merge 17 commits into from

Conversation

Jin409
Copy link
Contributor

@Jin409 Jin409 commented Aug 10, 2024

🌍 이슈 번호

📝 구현 내용

  • 매니저가 생성한 리그 전체 조회

🍀 확인해야 할 부분

스크린샷 2024-08-10 오전 11 06 27
- 위의 화면에 대한 API 인데 response dto 구조가 괜찮은지 잘 모르겠어요

Copy link
Contributor

@ldk980130 ldk980130 left a comment

Choose a reason for hiding this comment

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

코멘트 남긴것만 수정하면 머지해도 될 것 같아!

import java.time.LocalDateTime;
import java.util.List;

public record LeagueResponseWithInProgressGames(
Copy link
Contributor

Choose a reason for hiding this comment

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

이름이 너무 긴 것도 있는데 너무 구체적인 것 같아. 적당히 세부 사항을 제외하면 어떨까?

진행 중인 게임을 지금을 반환하지만 나중에는 게임이 없을 수도, 모든 게임을 조회할 수도 있으니, 요구 사항이 바뀔 때마다 dto 이름도 수정해야 하면 번거로울 것 같아.

핵심은 리그를 조회하는 거니 리그의 의미만 담아도 좋을 것 같아. 아님 LeagueWithGameResponse라고만 해도 좋을 것 같아

Copy link
Contributor Author

Choose a reason for hiding this comment

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

이 pr 에서 구현한 응답이 LeagueWithGames 여서 분류를 위해 다른 네이밍을 사용했는데.. 자잘자잘하게 차이점들이 있어서 분류해뒀거든. 합쳐도 되려나? 어떻게 생각하는지 궁금해.

@Jin409
Copy link
Contributor Author

Jin409 commented Aug 16, 2024

@fingersdanny

GameTeam 과 LeagueTeam 양방향 참조하고 있는데 이 부분 수정해서 반영하고 머지할 것!

[FEAT] 리그에 해당하는 경기 전체 조회
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 매니저가 생성한 모든 리그의 정보 조회
3 participants