[Fix] index already exists 문제 해결 #255
Merged
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.
✅ 체크리스트
🧩 작업 내용
nestjs-redis-om모듈을 수정해서 오류를 해결했습니다.📝 작업 상세 내역
패키지 출시
저 패키지 출시했어요. 축하해주세요.
들어가보기
MIT라이선스에 따라 원저자 출처를 해서 출시를 했습니다.패키지 출시를 해야했던 이유
아래
nestjs-redis-om코드를 수정할 필요가 있었습니다.이부분에서 인덱스 생성 시, 이미 존재하거나 상태가 동일하지 않을 경우 에러처리를 하지 않던 것이 문제였습니다.
실제로
nestjs를 위한redis-om래퍼가 없었고, 다른 사람들도 불편함을 느꼈을 것으로 판단했습니다.그래서 이왕 하는 김에 실제로 배포까지 진행했습니다. 추후에
Schema기능 중에TTL설정하는 것까지 지원해볼 생각입니다.💬 다음 작업 또는 논의 사항
🐥 리뷰 받고 싶은 포인트