Skip to content

Use DataLoaders for Common Dims GQL Query#1756

Merged
shangyian merged 7 commits intoDataJunction:mainfrom
shangyian:fix-common-dims-concurrent
Feb 15, 2026
Merged

Use DataLoaders for Common Dims GQL Query#1756
shangyian merged 7 commits intoDataJunction:mainfrom
shangyian:fix-common-dims-concurrent

Conversation

@shangyian
Copy link
Collaborator

@shangyian shangyian commented Feb 14, 2026

Summary

This PR optimizes the commonDimensions GraphQL query by implementing DataLoaders to batch and cache node lookups, preventing N+1 query problems and improving performance when multiple dimension nodes are requested concurrently.

Test Plan

  • PR has an associated issue: #
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

@netlify
Copy link

netlify bot commented Feb 14, 2026

Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit d17e61a
🔍 Latest deploy log https://app.netlify.com/projects/thriving-cassata-78ae72/deploys/699196e5c3b67a0008cbf11a

@shangyian shangyian changed the title Fix common dims concurrent Use DataLoaders for Common Dims GQL Query Feb 15, 2026
@shangyian shangyian marked this pull request as ready for review February 15, 2026 10:28
@shangyian shangyian merged commit 103ea9c into DataJunction:main Feb 15, 2026
17 checks passed
@shangyian shangyian deleted the fix-common-dims-concurrent branch February 15, 2026 10:28
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.

1 participant