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

[BugFix] 실시간 편집 API 연동 시 발생한 문제 해결 #106

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

yangchef1
Copy link
Collaborator

관련 이슈 번호

close #105

작업 내용

  • task-event DTO에 값이 매핑 되지 않는 문제 해결
  • task-event-response에 of 메서드 추가
  • Task 생성 시, 이벤트 브로드캐스트에 taskId 추가

고민과 학습내용

스크린샷

@yangchef1 yangchef1 added BugFix 문제 상황/오류 수정 BE 서버 작업 labels Nov 20, 2024
@@ -23,7 +23,7 @@ import { ContributorStatus } from '@/project/enum/contributor-status.enum';
import { TaskEventResponse } from '@/task/dto/task-event-response.dto';
import { UpdateInformation } from '@/task/domain/update-information.type';

const { json0 } = ShareDB.types;
const json0 = ShareDB.types.defaultType;
Copy link
Collaborator

Choose a reason for hiding this comment

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

🟢

const { defaultType: json0 } = ShareDB.types;

와 같은 형식도 나쁘지 않은 것 같습니다. 클라이언트 ESLint 에 있는 규칙이에요!

}
}

private merge(change: TaskEvent, existing: Task) {
const updateTitle = change.title;
const existingTitle = existing.title;
const { event } = change;
console.log(change);
Copy link
Collaborator

Choose a reason for hiding this comment

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

🔴
지워주세용.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

오마갓 ,,,

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

당장 지울게요

@PMtHk PMtHk self-requested a review November 20, 2024 11:12
@yangchef1 yangchef1 merged commit a60064a into dev Nov 20, 2024
1 check passed
@yangchef1 yangchef1 deleted the fix/#105 branch December 3, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 서버 작업 BugFix 문제 상황/오류 수정
Projects
None yet
Development

Successfully merging this pull request may close these issues.

실시간 편집 API 연동 시 발생한 문제
3 participants