Refactor: Tranactional
모듈을 NPM 라이브러리로 분리
#265
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.
작업 개요
파일 API에도 Prisma를 추가할 것임에 따라, 메인 API의 TransactinoModule을 별도의 NPM 패키지로 분리했습니다. 이를 메인 API에 테스트해보고, 교체를 완료했습니다.
작업 사항
고민한 점들
Raw Query가 왜 지원하지 않을까?
Object.assign()
방식으로 확장하고 있었습니다.undefined
가 되어 버리는 문제가 있었습니다.Raw Query를 어떻게 지원할 수 있을까?