fix: allow sellers to remove public contact methods
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 07:56:17 -04:00
parent 73c430b8a5
commit 9a790ce294
12 changed files with 122 additions and 22 deletions
+6
View File
@@ -208,3 +208,9 @@ Security events are stored separately.
Store money as integer minor units. Negative values are prohibited; zero is valid. USD is canonical for stored/calculated market values unless a documented external representation requires another currency.
Public seller descriptions use optional `general.publicDescription` in seller settings: trimmed plain text, at most 2,000 characters. An empty string clears the description. Public listing and product detail DTOs expose only this field as `sellerDescription`, alongside the existing public seller name and contact fields; other settings remain private. No database migration is required.
Public contact methods also use the existing seller settings JSON. Explicit
empty strings in `general.publicContactEmail` or `general.publicContactPhone`
represent removal; omitted fields retain their values during partial updates.
Public detail projections normalize empty contacts to `null`. No migration is
required, and seller ownership and private settings boundaries are unchanged.