Skip to content

9주차 미션 제출합니다.#29

Open
jaeimin wants to merge 2 commits into
mainfrom
Feat/jaimi/Chapter09
Open

9주차 미션 제출합니다.#29
jaeimin wants to merge 2 commits into
mainfrom
Feat/jaimi/Chapter09

Conversation

@jaeimin

@jaeimin jaeimin commented Nov 23, 2025

Copy link
Copy Markdown
Collaborator

김재민 / 재이미 9주차 과제 제출합니다.

@jaeimin jaeimin changed the title Feat/jaimi/chapter09 9주차 미션 제출합니다. Nov 23, 2025

@wonjun0120 wonjun0120 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

구현이 필요한 API 목록중 2개만 보이는것 같은데 확인 바랍니다

확인한 API

  1. 특정 가게의 미션 목록
  2. 내가 진행중인 미션 목록

확인할 수 없는 API

  1. 내가 작성한 리뷰 목록 (삭제됨)
  2. 진행중인 미션 진행 완료로 바꾸기

4개중 3개 이상을 구현해야합니다
제가 확인하지 못한거라면, 답변주시고, 카톡도 같이 주세요

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

인터페이스와 구현체로 분리한 이유가 무엇일까요?
지금처럼 구현체가 딱 하나인 경우에는 인터페이스가 있어야할까요?

@Override
public ReviewResponseDto.ReviewPreViewListDTO getMyReviews(Long userId, int page) {

PageRequest pageRequest = PageRequest.of(page - 1, 10);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

컨트롤러에서 넘어오는 페이지가 1부터 시작한다는 가정하에 작성된 것으로 보이는데,
이는 API를 어떻게 결정하는지에 따라 달라집니다.

이 경우는 controller 계층에서 정리해주는게 적절해보입니다

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

10의 경우도 변수로 따로 분리하여 관리하는게 더 좋지 않을까요

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

미션에 있는 "내가 작성한 리뷰 목록" 기능은 없는건가요?

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