codedang icon indicating copy to clipboard operation
codedang copied to clipboard

feat(be): gql n+1 issue

Open mnseok opened this issue 10 months ago • 3 comments

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.

mnseok avatar Apr 09 '25 15:04 mnseok

The preview deployment failed. 🔴

Open Build Logs

Last updated at: 2025-04-10 06:06:41 CET

coolify-skkuding[bot] avatar Apr 09 '25 15:04 coolify-skkuding[bot]

The preview deployment is ready. 🟢

Open Preview | Open Build Logs

Last updated at: 2025-05-13 09:00:34 CET

coolify-skkuding[bot] avatar May 02 '25 04:05 coolify-skkuding[bot]