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

GETP-293 feat: 프로젝트 지원 내역 조회 API 구현 #177

Merged
merged 5 commits into from
Oct 29, 2024

Conversation

scv1702
Copy link
Member

@scv1702 scv1702 commented Oct 29, 2024

✨ 구현한 기능

  • 프로젝트 지원 내역 조회 API 구현

📢 논의하고 싶은 내용

  • 쿼리를 할 때 권한 체크 등의 이유로 데이터베이스에서 도메인 엔티티를 가져오는 경우, 이미 도메인 엔티티를 가져왔기 때문에 관련 필드를 다시 데이터베이스에 조회를 하지 않아도 되는 경우가 있습니다. 예를 들어, 프로젝트 지원 내역 조회 시 본인 만이 조회할 수 있어야 하므로 권한 체크를 위해 프로젝트 지원 엔티티를 가져오게 됩니다. 그렇기 때문에 프로젝트 지원에 관한 필드는 굳이 다시 데이터베이스에서 조회를 하지 않고 도메인 엔티티로 쿼리에 대한 반환 DTO를 만들 수 있겠죠? 이러한 경우 어떤 패턴을 사용할지 고민입니다. 일단 Factory 패턴을 적용하긴 했으나.. 알맞게 한 진 잘 모르겠네요.

🎸 기타

Copy link

github-actions bot commented Oct 29, 2024

Test Results

153 tests  +1   153 ✅ +1   19s ⏱️ +3s
 95 suites +1     0 💤 ±0 
 95 files   +1     0 ❌ ±0 

Results for commit 0308281. ± Comparison against base commit 093061a.

♻️ This comment has been updated with latest results.

@scv1702 scv1702 merged commit da8a58e into develop Oct 29, 2024
2 checks passed
@scv1702 scv1702 deleted the feature/GETP-293 branch October 29, 2024 14:07
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.

1 participant