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

Optimize GetAssociatedProductsAsync to Apply ACL & Store Mapping at Query Level #7537

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

atiq-bs23
Copy link
Contributor

@atiq-bs23 atiq-bs23 commented Jan 30, 2025

This PR optimizes the GetAssociatedProductsAsync method in ProductService by moving ACL and store mapping constraints to the query level. Previously, these filters were applied after fetching data, causing unnecessary in-memory filtering. The change improves performance by reducing the number of records retrieved from the database.

… constraints at the query level to improve efficiency and reduce in-memory filtering
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.

3 participants