Skip to content

Don't call filterQuery twice #456

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

DaddyWarbucks
Copy link
Contributor

Closes #455

@fratzinger I know you are working on another cleanup branch. Should I PR this there instead?

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a performance issue by eliminating a redundant call to filterQuery() in the find method. The change replaces a direct call to filterQuery() with getOptions(), which likely already calls filterQuery() internally.

  • Replaces direct filterQuery() call with getOptions() call to avoid duplication

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.

Don't call filterQuery twice
1 participant