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

의견 업데이트 #30

Open
wonjinYi opened this issue Apr 26, 2021 · 0 comments
Open

의견 업데이트 #30

wonjinYi opened this issue Apr 26, 2021 · 0 comments
Labels

Comments

@wonjinYi
Copy link
Owner

현재

taskTarget comment의 taskType은 edit하나.
생성하든 삭제하든 update로 퉁치고있었음

문제상황

A. B 두 개의 클라이언트가 있음. 둘다 접속당시 의견란 비어있음.

A : 'ㄹㄹㄹ'라는 의견하나 작성
현재 A는 'ㄹㄹㄹ' 하나 보임. B는 아무것도 안보임

B : 'RRR'라는 의견 하나 작성
현재 A는 'ㄹㄹㄹ'하나 보임. 현재 B는 'RRR'하나 보임

A : 'ㄹㄹㄹ'삭제
이 때, 연구소의 comment셀은 실제로 모든내용이 삭제됨. B가 작성한 'RRR'씹힘.

방안

taskTarget comment에 대하여 create, delete taskType만들어야함.
comment는 현행처럼 단일스트링이 아니라, {id:000, content:"@@@@"} 식의 객체단위로 저장해야함.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant