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] feat: 놀이터 등록, 전체 놀이터 위치 조회 API 구현 #618

Merged
merged 16 commits into from
Oct 10, 2024

Conversation

ehtjsv2
Copy link
Contributor

@ehtjsv2 ehtjsv2 commented Oct 4, 2024

이슈

개발 사항

  • 놀이터 등록 API
  • 전체 놀이터 위치 API
  • 내 강아지 존재 유무 API

리뷰 요청 사항

전달 사항

@ehtjsv2 ehtjsv2 self-assigned this Oct 4, 2024
@ehtjsv2 ehtjsv2 linked an issue Oct 4, 2024 that may be closed by this pull request
4 tasks
Copy link

github-actions bot commented Oct 4, 2024

Test Results

196 tests   196 ✅  18s ⏱️
 44 suites    0 💤
 44 files      0 ❌

Results for commit 081a3bf.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@takoyakimchi takoyakimchi left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@takoyakimchi takoyakimchi left a comment

Choose a reason for hiding this comment

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

👍

Comment on lines 77 to 81
@GetMapping("/exists/mine")
public ApiResponse<FindExistMyPetResponse> existMine(@Auth Long memberId) {
FindExistMyPetResponse response = petQueryService.existMine(memberId);
return ApiResponse.ofSuccess(response);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
@GetMapping("/exists/mine")
public ApiResponse<FindExistMyPetResponse> existMine(@Auth Long memberId) {
FindExistMyPetResponse response = petQueryService.existMine(memberId);
return ApiResponse.ofSuccess(response);
}
@GetMapping("/exists/mine")
public ApiResponse<FindPetExistenceResponse> checkPetExistence(@Auth Long memberId) {
FindPetExistenceResponse response = petQueryService.checkPetExistence(memberId);
return ApiResponse.ofSuccess(response);
}

existMine은 어색한 것 같아요. 네이밍 제안해봅니다~

Comment on lines 94 to 96

@DisplayName("멤버가 가진 펫이 한마리라도 있는 지 알 수 있다 : False")
@Test
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
@DisplayName("멤버가 가진 펫이 한마리라도 있는 지 알 수 있다 : False")
@Test
@DisplayName("멤버가 가진 펫이 한마리라도 있는 지 알 수 있다 : True")
@Test

jimi567
jimi567 previously approved these changes Oct 6, 2024
takoyakimchi
takoyakimchi previously approved these changes Oct 7, 2024
Copy link
Contributor

@takoyakimchi takoyakimchi left a comment

Choose a reason for hiding this comment

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

고생했어요 도도 ~~ 🦤

@takoyakimchi takoyakimchi added the 🖥 backend backend label Oct 8, 2024
takoyakimchi
takoyakimchi previously approved these changes Oct 8, 2024
Copy link
Contributor

@takoyakimchi takoyakimchi left a comment

Choose a reason for hiding this comment

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

👍

jimi567
jimi567 previously approved these changes Oct 9, 2024
Copy link
Member

@jimi567 jimi567 left a comment

Choose a reason for hiding this comment

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

고생하셨어요. 유틸 클래스 지양해야 한다는 건 알지만, geo계산기를
utilClass로 빼니깐 더 깔끔하네용

Copy link
Contributor

@J-I-H-O J-I-H-O left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!
이번 PR에서 말씀드릴만한건 없는 것 같구, 이전 PR에 남긴 리뷰 꼭 확인 부탁드릴게요.
N+1 문제를 직접 만들고 있어요!!!

#607 (comment)

@ehtjsv2 ehtjsv2 dismissed stale reviews from jimi567 and takoyakimchi via dcd7471 October 10, 2024 06:40
Copy link
Contributor

@takoyakimchi takoyakimchi left a comment

Choose a reason for hiding this comment

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

LGTM

@ehtjsv2 ehtjsv2 merged commit 4ee8360 into develop Oct 10, 2024
3 checks passed
@J-I-H-O J-I-H-O deleted the feature/be-playground-post branch October 24, 2024 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants