Hold withTermsUnchanged to carrying every field

TestSecurityService
Shipped
September 2, 2026 at 4:56 PM UTC
Author
Kamo
Commit
0bd1b32

The method rebuilds UpdateQuoteRequest positionally, so a field added to that record and forgotten here is dropped from every save by a member without EDIT_QUOTE_TERMS — silently, at HTTP 200, with the editor re-rendering the stored blank as though the member had cleared it. setupFee hit exactly that. The test walks the record's components by reflection rather than naming them, so a component added tomorrow is covered without anyone remembering to come back here. Verified by reintroducing the bug: it fails with 'setupFee was dropped'.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing