Skip to content

fix: loadManyToManyRelation() runs constraint callback only once#222

Merged
techmahedy merged 1 commit intodoppar:3.xfrom
techmahedy:techmahedy-3.x
Mar 11, 2026
Merged

fix: loadManyToManyRelation() runs constraint callback only once#222
techmahedy merged 1 commit intodoppar:3.xfrom
techmahedy:techmahedy-3.x

Conversation

@techmahedy
Copy link
Copy Markdown
Member

Key change:

constraint runs once on $inspectQuery, then we copy the resulting conditions, orderBy, and limit onto the real $querydirectly — no second callback invocation

@techmahedy techmahedy merged commit 717b703 into doppar:3.x Mar 11, 2026
27 checks passed
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