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] Step-2 잔여 좌석 조회 API 개발 #65

Closed
wants to merge 7 commits into from

Conversation

pollra
Copy link
Collaborator

@pollra pollra commented Sep 13, 2023

관련된 이슈 번호

변경사항 (할 일)

스크린샷 2023-09-13 오후 9 14 03
위 빨간 네모 박스에서 사용하게 될 api 를 개발합니다.

  • 잔여 좌석 조회 api 개발

현재는 별다른 제한 사항이 없기 때문에 성능은 깊게 고민하지 않고 개발 할 예정입니다

추가 점검사항

  • test case
  • 코드리뷰가 쉽도록 문서 수정

etc

해당 PR 은 #58, #59 이슈 에 의존성을 가지고 있습니다
#58, #59
[Feature] 잔여 좌석 도메인 설계 가 Merge 된 이후 적용 될 예정입니다

@pollra pollra added the 3 3h label Sep 13, 2023
@pollra pollra self-assigned this Sep 13, 2023
@pollra pollra linked an issue Sep 13, 2023 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Sep 13, 2023

Test Results

28 tests  +1   24 ✔️ +1   1s ⏱️ ±0s
15 suites +1     4 💤 ±0 
15 files   +1     0 ±0 

Results for commit 18e5b33. ± Comparison against base commit 481017a.

♻️ This comment has been updated with latest results.

@f-lab-lion f-lab-lion changed the base branch from develop to feat/#59-feature-Residual-seat-domain-design September 17, 2023 11:13
Base automatically changed from feat/#59-feature-Residual-seat-domain-design to develop September 18, 2023 11:24
@pollra pollra force-pushed the feat/#60-check-remaining-seats-api branch from 18c965a to e0c6f74 Compare September 18, 2023 12:30
@f-lab-lion f-lab-lion changed the title [Feature] 잔여 좌석 조회 API 개발 [Feature] Step-2 잔여 좌석 조회 API 개발 Sep 18, 2023
@pollra pollra force-pushed the feat/#60-check-remaining-seats-api branch from e0c6f74 to f91314a Compare September 23, 2023 12:13
@pollra pollra marked this pull request as ready for review September 23, 2023 12:50
@@ -42,4 +47,12 @@ public Page<ShowMainResponse> getShowListWithPagination(
.collect(Collectors.toList());
return new PageImpl<>(response, pageable, response.size());
}

@GetMapping("/{showId}/schedule/times/{timeScheduleId}/seats/grades/remaining-counts")
Copy link
Collaborator

Choose a reason for hiding this comment

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

이 api의 경우 날짜를 누른후, 공연시간 내부에서 등극별 남은좌석수를 조회하는 기능이군요.
그렇다면 아래 화면에서 보여야 되는군요

image
  1. client에서 넣어주어야 하는 timeScheduleId는 어떻게 알 수 있을까요?
    바로 직전화면인 montly 정보를 보여주는 화면은 /{showId}/schedules 을 통해 구성되는데 이때는 timeScheduleId를 알 수 없습니다.

  2. url path는 리소스의 접근을 의미하고 / 하나마다 리소스의 계층을 의미한다고 보면 매우 복잡한 구조를 사용한걸로 보입니다.
    화면구성에서 유저의 Input은 "날짜의 선택" 이었습니다. 이를 통해 더 간단하게 설계해 볼 수 있을까요?

@f-lab-lion f-lab-lion assigned yeGenieee and unassigned pollra Sep 26, 2023
@pollra pollra closed this Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 3h
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] 잔여 좌석 조회 API 개발
3 participants