codedang
codedang copied to clipboard
feat(be): gql n+1 issue
Description
- gql dataloader를 적용하였습니다.
- 간단한 예시로 notice 쪽의 createdBy에 적용했습니다.
https://medium.com/@bhryan1013/nest-js-graphql%EC%97%90%EC%84%9C-dataloader%EC%9D%98-%EC%82%AC%EC%9A%A9-d73c7f7d7a1d -> GraphQL dataloader 사용 관련해서 정리한 글인데, 지금 구현한건 후자 느낌이에요
closes TAS-1621 Closes #1896
Before submitting the PR, please make sure you do the following
- [x] Read the Contributing Guidelines
- [x] Read the Contributing Guidelines and follow the Commit Convention
- [x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g.
fixes #123). - [x] Ideally, include relevant tests that fail without this PR but pass with it.
The preview deployment is ready. 🟢
Open Preview | Open Build Logs
Last updated at: 2025-05-13 09:00:34 CET