Skip to content

fix(drizzle): reuse existing joins for nested/localized fields when querying - #8823

Merged
DanRibbens merged 2 commits into
betafrom
fix/drizzle-build-joins-properly
Oct 22, 2024
Merged

DanRibbens merged 2 commits into
betafrom
fix/drizzle-build-joins-properly

Conversation

@r1tsuu

@r1tsuu r1tsuu commented Oct 22, 2024 •

Copy link
Copy Markdown
Member

Fixes #8517

Reuses existing joins instead of adding new, duplicate ones which causes:

Error: Alias "" is already used in this query.

This fix was reverted #8396 since it's not relevant with this pattern anymore

@r1tsuu
r1tsuu force-pushed the fix/drizzle-build-joins-properly branch from 8ba78ad to 9dcb9df Compare October 22, 2024 13:37

@DanRibbens DanRibbens left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice

@github-actions

Copy link
Copy Markdown
Contributor

🚀 This is included in version v3.0.0-beta.118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants