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

feat: 요청자 정보를 cls namespace에 담도록 구현 #49

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

Coalery
Copy link
Member

@Coalery Coalery commented Jan 14, 2024

주요 변경 사항

요청자 정보를 cls namespace에 담아두도록 구현하였습니다.
또, 트랜잭션을 이벤트 넘어갈 때 새로 만들어주기 위해 사용하는 TransactionApplier에서 새로운 cls namespace를 여는 것이 아니라 기존 namespace를 사용하면서 entity manager 정보만 덮어 쓰도록 수정하였습니다.

변경 이유

Fixes #45

@Coalery Coalery self-assigned this Jan 14, 2024
Copy link

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
71.95% (-0.76% 🔻)
754/1048
🔴 Branches
47.84% (-0.21% 🔻)
111/232
🔴 Functions
51.29% (+0.38% 🔼)
139/271
🟡 Lines
71.92% (-0.74% 🔻)
707/983
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🔴
... / ITokenVerifier.ts
0% 100% 100% 0%
🔴
... / Requester.ts
0% 100% 0% 0%
🔴
... / UserRole.ts
0% 100% 100% 0%
🔴
... / AuthGuard.ts
0% 0% 0% 0%
🔴
... / AuthModule.ts
0% 100% 100% 0%

Test suite run success

108 tests passing in 25 suites.

Report generated by 🧪jest coverage report action from f3ce6f0

@Coalery Coalery merged commit 9ca701b into main Jan 14, 2024
2 checks passed
@Coalery Coalery deleted the feat/requester-info-in-cls-namespace branch January 14, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

요청자 정보를 어디서든 구할 수 있도록 cls namespace에 담아두기
1 participant