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

Feature: 세션 데브톡 컨텐츠 추가 및 임베디드화 #27

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

Youthhing
Copy link
Member

연관된 이슈

이슈링크(url): #26

✅ 작업 내용

  • 세션 데브톡 컬럼 추가
  • GenerartionPeriod.java 패키지 이동 common -> domain

🗣 ️리뷰 요구 사항

  • 세션 컨텐츠인 IT이슈, 네트워킹, CS교육, 데브톡을 Embedded 컬럼으로 묶는 것은 어떠한지 리뷰 바람

장점

  • 한 곳에서 관리 가능
  • Session.java 클래스 간소화
    단점
  • @AttributeOverrides릍 통한 컬럼명 재정의 필요
  • 기존 GenerationPeriod과 달리 활용도가 한정적임

Copy link
Member

@gikhoon gikhoon left a comment

Choose a reason for hiding this comment

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

임베디드로 항목들을 묶으면 코드가 더 깔끔햐질 것 같습니다! 또한 컬럼명도 단일 클래스에먼 사용하기 때문에 같은 이름으로 설정하면 atrributeOverride로 수정하지 않아도 될것 같습니다

@Youthhing
Copy link
Member Author

Member

엇 근데 기존에 사용하던 컬럼명이 session_이 붙어있는 형식이라 @AttributeOverrides로 수정이 필요하긴 합니다!

- SessionContents 임베디드 타입 추가
- 세션 리스트 반환 API Response 변경
- Jpa 메서드명 변경
@Youthhing
Copy link
Member Author

@gikhoon
세션 컨텐츠 임베디드화 완료했습니다 a6b4efe

관련해서 '기수별 존재하는 세션 목록 API ('/v1/api/session?generationId = ') 응답 형식이 변경되었는데 이슈 확인 부탁드려요!

@Youthhing Youthhing changed the title Feature: 세션 데브톡 컨텐츠 추가 Feature: 세션 데브톡 컨텐츠 추가 및 임베디드화 Jun 18, 2024
@gikhoon
Copy link
Member

gikhoon commented Jun 18, 2024

넵 확인했습니다!

@Youthhing Youthhing merged commit c7db38b into develop Jun 18, 2024
1 check passed
@Youthhing Youthhing deleted the feature/#PC-40-devtalk branch June 18, 2024 08:37
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