Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): respect filters with joined loading strategy #4683

Merged
merged 1 commit into from Sep 10, 2023

Conversation

B4nan
Copy link
Member

@B4nan B4nan commented Sep 10, 2023

Previously, the filters were applied only when using the select-in strategy, as part of the where condition. With this change, when using the joined strategy, filters will be also applied to the query, via join on conditions.

Closes #704
Closes #2440

Previously, the filters were applied only when using the select-in strategy, as part of the `where` condition.
With this change, when using the joined strategy, filters will be also applied to the query, via `join on` conditions.

Closes #704
Closes #2440
@codecov
Copy link

codecov bot commented Sep 10, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
packages/core/src/EntityManager.ts 100.00%
packages/knex/src/AbstractSqlDriver.ts 100.00%
packages/knex/src/query/QueryBuilder.ts 100.00%

📢 Thoughts on this report? Let us know!.

@B4nan B4nan merged commit 847c35a into master Sep 10, 2023
12 of 13 checks passed
@B4nan B4nan deleted the join-strategy-filters branch September 10, 2023 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant