Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
issue
구현 사항
User type 생성
회원가입이 들어가며 계좌번호 관리 책임을 이벤트가 아니라 유저의 책임으로 백엔드 구조가 변경되며 api 명세가 변동되었습니다. 그래서 이에 맞춰 User 타입을 만들었습니다. 유저는 닉네임, 계좌번호, 은행 3가지를 가집니다.
또한 은행과 계좌번호를 합친 BankAccount 타입을 만들어 이를 &연산을 통해 Event와 User에 적용시켰습니다.
api 변경 적용
useRequestPatchEventName는 이제 이름만 변경할 수 있고 useRequestPatchUser에서 계좌번호와 은행을 바꿀 수 있습니다.
닉네임 수정은 차후에 적용하겠습니다.
🫡 참고사항