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

mutation 리팩토링 #146

Merged
merged 12 commits into from
Dec 13, 2020
Merged

mutation 리팩토링 #146

merged 12 commits into from
Dec 13, 2020

Conversation

GrasshopperBears
Copy link
Collaborator

해당 이슈 📎

#95

변경 사항 🛠

  • 택시 요청 시 requestingUsers에 존재하는 document 제거
  • 유저 회원가입 시 중복 확인
  • mutation을 user/driver/auth로 분리했습니다
  • schema에 input type을 추가했습니다
    • schema 변경에 따라 query를 변경했습니다

테스트 ✨

없음

리뷰어 참고 사항 🙋‍♀️

  • 팀원에게 하고 싶은 말

- mutation 폴더에 들어있던 resolver들을 역할에 맞게 분리
- requestingUser 정보가 누적되는 버그가 생겨 DB에서 제거하도록 변경
- try/catch로 에러  처리
- 에러 메세지 분리
- 승객의 id 중복 여부 확인
- graphql 스키마에 추가
- 변경된 스키마에 맞춰 query 수정
- 스키마에 HistoryInfo 타입 추가
- 이에 따른 query 수정
- 정보를 info 객체로 래핑
- userSignup graphql 스키마 변경
- 이에 따른 query 변경
Copy link
Contributor

@ahnsoheee ahnsoheee left a comment

Choose a reason for hiding this comment

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

mutation 나누고 싶었는데 진우님이 해주셨네요ㅎㅎ
수고 많으셨습니다

Copy link
Contributor

@slogup-mia slogup-mia left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!
이번 리팩토링은 dev로 바로 넘기지 말고
refactor/merge 같은 브랜치 생성 브랜치들 합치면서 가면 어떨까요
파일이 삭제/생성된 부분이 많아서 꼬이면 브랜치 삭제해도 문제 없으니까요!

@GrasshopperBears GrasshopperBears changed the base branch from dev to refactor/merge December 13, 2020 07:07
@GrasshopperBears GrasshopperBears merged commit 17cd45b into refactor/merge Dec 13, 2020
@GrasshopperBears GrasshopperBears deleted the refactor/mutation branch December 14, 2020 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants