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.
🤠 개요
💫 설명
채널 보드 아이디의 타입을 string 에서 number 로 변경한 이유
우선 개발 초기단계에 서버와 합의 문제가 일부 발생해 프론트는 string 으로 처리하고 서버는 number(int) 로 이용하고 있었어요. 그래서 채널 보드 드래그앤 드랍 문제가 발생했었어요. 서버와 타입을 맞추지 않고 코드를 작성하다보니 typescript 에서 타입 에러가 발생하였고, MSW 와 서버의 데이터가 일치하지 않는 문제가 있어 타입을 변경했어요
📷 스크린샷 (Optional)
Screen.Recording.2023-10-26.at.2.14.16.AM.mov