Skip to content

[W-21538387] refactor: code cleanup from suggestions in PR #6957#7015

Merged
daphne-sfdc merged 8 commits into
developfrom
daphne/W-21538387-code-review-comments-in-6957
Mar 19, 2026
Merged

[W-21538387] refactor: code cleanup from suggestions in PR #6957#7015
daphne-sfdc merged 8 commits into
developfrom
daphne/W-21538387-code-review-comments-in-6957

Conversation

@daphne-sfdc

Copy link
Copy Markdown
Contributor

What does this PR do?

Addresses Shane's optional code review comments from PR #6957.

The use of autoFetchQuery from sfdx-core in place of the custom maxFetch saved a lot of code in dataQuery.ts. 🙂 Here is the new code working. To test, I had a large org with 15,000 Accounts and 30,000 Contacts. I set org-max-query-limit to 10 as a local config variable in my project, then executed the highlighted SOQL query.
Screenshot 2026-03-18 at 5 44 28 PM

What issues does this PR fix or reference?

@W-21538387@

@daphne-sfdc daphne-sfdc requested a review from mshanemc March 18, 2026 21:50
@daphne-sfdc daphne-sfdc requested a review from a team as a code owner March 18, 2026 21:50
@daphne-sfdc daphne-sfdc merged commit e09e2ba into develop Mar 19, 2026
62 of 69 checks passed
@daphne-sfdc daphne-sfdc deleted the daphne/W-21538387-code-review-comments-in-6957 branch March 19, 2026 13:53
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.

2 participants