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

Feat #12 - 유치원 선택 API 구현 #15

Merged
merged 13 commits into from
Jun 25, 2024

Conversation

DongwookKim0823
Copy link
Member

PR 체크리스트

아래 항목을 확인해 주세요:

  • 커밋 메시지가 우리의 가이드라인을 따르고 있는지 확인하세요
  • 변경 사항에 대한 테스트가 추가되었는지 확인하세요 (버그 수정 / 기능 추가)
  • 문서가 추가되거나 업데이트되었는지 확인하세요 (버그 수정 / 기능 추가)

PR 유형

이 PR은 어떤 종류의 변경을 가져오나요?

  • 버그 수정
  • 새로운 기능 추가
  • 기능 변경/삭제
  • 코드 스타일 업데이트 (서식, 로컬 변수)
  • 리팩터링 (기능 변경 없음, API 변경 없음)
  • 빌드 관련 변경
  • CI 관련 변경
  • 문서 내용 변경
  • 애플리케이션 / 인프라 변경
  • 기타... 설명:

관련 이슈

이슈 번호: #12

어떤 동작은 무엇인가요?

  • 본인이 속한 유치원 목록 중 예약할 유치원을 선택
  • 선택한 유치원이 해당 사용자가 속한 유치원인지 검증
  • 유효한 유치원 아이디이면 jwt payload에 유치원 아이디 claim을 추가 후 토큰 재발급

기타 정보

- 본인이 속한 유치원 목록 중 예약할 유치원을 선택
- 선택한 유치원이 해당 사용자가 속한 유치원인지 검증
- 유효한 유치원 아이디이면 jwt payload에 유치원 아이디 claim을 추가 후 토큰 재발급
@DongwookKim0823 DongwookKim0823 added the ✨ Feature 기능 개발(API, 모듈 등) label Jun 23, 2024
@DongwookKim0823 DongwookKim0823 self-assigned this Jun 23, 2024
Copy link
Member

@JaeHyuckSa JaeHyuckSa left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 :) 조금만 더 파이팅입니다.

@JaeHyuckSa
Copy link
Member

CI 쪽도 같이 수정해주시면 좋을듯 합니다.

Run docker compose run guest_service poetry run black mung_manager/ --check
time="202[4](https://github.com/mung-manager/guest-be/actions/runs/9631053878/job/26562543246?pr=15#step:6:5)-06-23T05:36:56Z" level=warning msg="/home/runner/work/guest-be/guest-be/docker-compose.yml: `version` is obsolete"
 Container redis  Running
 Container postgres_db  Running
would reformat /app/mung_manager/pet_kindergardens/apis/urls.py

Oh no! 💥 💔 💥
1 file would be reformatted, [10](https://github.com/mung-manager/guest-be/actions/runs/9631053878/job/26562543246?pr=15#step:6:11)4 files would be left unchanged.

DongwookKim0823 and others added 11 commits June 24, 2024 19:16
- exists_by_user_and_pet_kindergarden 메서드명 exists_by_user_and_pet_kindergarden_id으로 수정
- INVALID_PET_KINDERGARDEN_ID에서 NOT_FOUND_PET_KINDERGARDEN로 수정
- 토큰 발급 로직을 auth 모듈로 이동
- 토큰 발급 로직에서 사용자의 유효성 검증 로직을 수행하도록 수정
- black 설정에서 .*urls\.py 패턴 검사 제외하는 항목 제거
@JaeHyuckSa JaeHyuckSa force-pushed the feature/issue-012/select-pet-kindergarden branch from c38341c to b185c9e Compare June 25, 2024 08:48
@JaeHyuckSa JaeHyuckSa self-requested a review June 25, 2024 08:56
Copy link
Member

@JaeHyuckSa JaeHyuckSa left a comment

Choose a reason for hiding this comment

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

고생하셨습니다.

@DongwookKim0823 DongwookKim0823 merged commit 77bf9e3 into develop Jun 25, 2024
1 check passed
@DongwookKim0823 DongwookKim0823 deleted the feature/issue-012/select-pet-kindergarden branch June 25, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발(API, 모듈 등)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants