Skip to content

Conversation

@huncozyboy
Copy link
Member

PR 내용

게시판 디자인이 변경됨에 따라서, 새로 바뀐 뷰에 맞춰서 아래 내용들을 수정했습니다


PR 세부사항

파트 게시판 작성 request 변경

  • 파트 게시판 작성시 스터디 이름, 주차 선택적으로 입력받도록 변경
  • 기수 + 파트 명시적으로 입력받도록 변경

교육자료 게시판 작성 request 변경

  • 마찬가지로 기수 + 파트 리스트 명시적으로 입력받는 방식으로 변경된 뷰에 맞춰서 작업 예정

게시판 수정 API 분리

파트 게시판 수정 API

제목 + 내용
+ 파일에 추가 필드들 반영 (스터디 이름, 주차, 기수, 파트)

  1. 교육자료 수정 API 추가 (분리 이유 -> 파트게시판과 다르게 리스트로 파트를 입력받기때문)
    제목 + 내용
+ 파일 (기수, 파트 리스트)

게시판 상세조회 응답 dto 수정

  • 제목 + 내용
+ 파일에 추가 필드들 반영 (스터디이름,주차수, 기수, 파트, 파트 리스트)

관련 스크린샷


주의사항

게시글 수정방식이 명시적으로 모든 필드들 보내주기보다는, 수정이 필요한 부분만 입력받는 로직으로 변경되었으니 꼼꼼하게 봐주시면 감사하겠습니다 🙇🏻‍♂️


체크 리스트

  • 리뷰어 설정
  • Assignee 설정
  • Label 설정
  • 제목 양식 맞췄나요? (ex. #0 Feat: 기능 추가)
  • 변경 사항에 대한 테스트

@huncozyboy huncozyboy requested review from hyxklee and jj0526 August 12, 2025 10:02
@huncozyboy huncozyboy self-assigned this Aug 12, 2025
@huncozyboy huncozyboy linked an issue Aug 12, 2025 that may be closed by this pull request
14 tasks
Copy link
Collaborator

@hyxklee hyxklee left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!
PATCH에 맞게 null check가 잘 이루어지고 있는 것 같아요!
게시판 관련 사항은 프론트 담당자 분이랑 잘 소통하면서 해주시고 있는 것 같아서 좋습니다 👍🏻

Copy link
Collaborator

@jj0526 jj0526 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다


public void updateEducation(PostDTO.UpdateEducation dto) {
this.updateUpperClass(dto);
this.part = null;
Copy link
Collaborator

Choose a reason for hiding this comment

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

원래 교육용 자료에서는 part가 쓰이지 않는 컬럼인데 null로 업데이트한 이유가 있을까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

교육자료에서는 part 미사용이라는 도메인 규칙을 재확인하려는 의도로 설계했습니다 !
정상적인 플로우는 아니지만 교육자료를 여러번 업데이트할때 옛 값이 남을 수 있는 경우를 방지하고자
업데이트시에도 null값으로 명시적으로 지정해줬다고 생각해주심 될거같아요

@huncozyboy huncozyboy merged commit e2b2b30 into develop Aug 12, 2025
2 checks passed
@huncozyboy huncozyboy deleted the Refactor/#197/게시판-작성-request-변경-및-게시판-수정-api-분리 branch August 12, 2025 15:05
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.

Refactor #197 게시판 작성 request 변경 및 게시판 수정 API 분리

4 participants