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

[BE] 필터링 조건으로 스터디 조회 API에서 단건 조회 시 배열로 반환되는 문제 및 필터링안되는 조건에 대한 예외처리 #339

Open
1 task
MoonJeWoong opened this issue Aug 15, 2023 · 0 comments
Assignees
Labels
BE 백엔드 작업 refactor

Comments

@MoonJeWoong
Copy link
Collaborator

문제상황

  • 프론트에서 participantCode로 스터디 단건 조회 시 단일 조회 결과로 반환되는게 아니라 studies: [] 배열로 포장되서 반환된다. (사진에서는 오타로 인해 pomodoroRooms로 표시됨) 이로 인해 클라이언트에서도 항상 단건 조회임에도 불구하고 배열에 접근해서 값을 꺼내와야 하는 불편함이 발생.

image (8)

  • PR 코드리뷰에서 얘기 나눴던 것처럼 필터링 조건 조합 중 제대로 처리되지 못한 케이스들이 있어서 추후 동적쿼리 도입하면서 같이 처리해줘야 한다.

추가할 기능

  • PomodoroRoomController의 findStudiesWithFilter() 메서드 리팩토링하기.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 백엔드 작업 refactor
Projects
Status: No status
Development

No branches or pull requests

5 participants