Skip to content

Conversation

@ysw789
Copy link
Member

@ysw789 ysw789 commented Feb 11, 2025

[feat] 지원자 조회 API 구현

Issue

변경 내용

  • 어드민 페이지 지원자 관리용 API 개발

구현 사항

  • 페이징 응답 전용 DTO 구현
  • 지원자 조회 API 구현, 페이징 적용
  • 지원자 상태 변경 API 구현

- 기존 Page 인터페이스의 직렬화 문제로 인해 스프링 부트 3.3부터 추가된 WARNING `Serializing PageImpl instances as-is is not supported, meaning that there is no guarantee about the stability of the resulting JSON structure!`
- `@EnableSpringDataWebSupport(pageSerializationMode = VIA_DTO)` 옵션을 적용해 직렬화를 적용할 수 있지만, 응답 데이터가 일부 누락되는 것을 확인
- 직접 페이징 응답 전용 DTO를 구현함으로써 해결
- 페이징 정책에 따라 20건 씩 응답
@ysw789 ysw789 added the FEAT label Feb 11, 2025
@ysw789 ysw789 requested review from dohy-eon and hodoon February 11, 2025 15:40
@ysw789 ysw789 self-assigned this Feb 11, 2025
@hodoon
Copy link
Collaborator

hodoon commented Feb 12, 2025

지원자 API 활용해서 google 시트 연동 되는지 테스트 해볼게요

Copy link
Member

@dohy-eon dohy-eon left a comment

Choose a reason for hiding this comment

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

이름 추가해주세여

- 조회 DTO 변환 메소드 추가
- 병합 충돌을 막기 위해 에러 코드 수정
- 요청 DTO 구현
- 상태 변경 후 지원자 정보 리턴
@ysw789 ysw789 merged commit 0a8bf83 into dev Feb 12, 2025
1 check passed
@ysw789 ysw789 deleted the feat/#13-2 branch February 12, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants