FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Don't call filterQuery twice by DaddyWarbucks · Pull Request #456 · feathersjs-ecosystem/feathers-sequelize · GitHub

Don't call filterQuery twice - #456

Open
DaddyWarbucks wants to merge 1 commit into
masterfrom
fix/filterQuery
Open

Don't call filterQuery twice#456
DaddyWarbucks wants to merge 1 commit into
masterfrom
fix/filterQuery

Conversation

Copy link
Copy Markdown
Contributor

Closes #455

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Comment thread src/adapter.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

2 participants


Back | FazBrowse Home | New Git URL