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

Remove DML from for loop

Open
#42 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#L243

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at examples/checkout-sync/classes/B2BSyncDelivery.cls around line 243 and inspect the loop and its DML operation. Determine how the DML can be handled without executing it inside the loop, then verify that the delivery sync behavior is preserved; the issue is complete when the loop no longer performs DML.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.