forcedotcom / forcedotcom/b2b-commerce-on-lightning-quickstart

Remove DML from for loop

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
191
Forks
211
PR merge metrics
No merged PRs in 30d

Description

https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/blob/9a24bb0ab5ea1ac786f9a3d4939367d3fd06c24b/examples/checkout-sync/classes/B2BSyncDelivery.cls#L258

Contributor guide

No contributing guide indexed for this repository

Research direction

Open examples/checkout-sync/classes/B2BSyncDelivery.cls at line 258 and inspect the surrounding for loop and its DML operation. Confirm the existing checkout-sync behavior, then ensure the DML is no longer performed inside the loop while preserving the same result; verify with the repository's available validation for this class.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.