forcedotcom / forcedotcom/b2b-commerce-on-lightning-quickstart
Remove DML from for loop
Open
- 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