Added failOnConflict to both update UserService.updateEmail and updatePhone - #361
Added failOnConflict to both update UserService.updateEmail and updatePhone#361slavikm wants to merge 2 commits into
Conversation
|
🐕 Review complete — View session on Shuni Portal 🐾 |
🐕 Suggested ReviewersThis PR adds a failOnConflict boolean flag to UserService email and phone update methods. The optimal review strategy combines deep expertise in the affected modules with broad coverage: aviadl has the most extensive history across all three files and can provide comprehensive architectural review; Bars92 offers equally broad coverage and can validate the implementation pattern; orius123 adds test-specific expertise to ensure proper test coverage; and dorsha provides additional perspective on the interface and implementation layer. This combination ensures thorough review of the API changes, implementation, and test completeness.
Suggested by Shuni based on git history and PR context. Names are not @-mentioned to avoid notifying anyone — request a review from whoever fits best. |
There was a problem hiding this comment.
🐕 Shuni's Review
This PR adds a failOnConflict flag to UserService.updateEmail/updatePhone and threads it through to the request body.
Sniffed out 1 issue:
- 2 🟠 HIGH: breaking public API change (no overload preserving old signature)
See inline comments for details. Woof!
Declared coverage: FULL — 3/3 changed files reviewed.
|
🐕 Review complete — View session on Shuni Portal 🐾 |
There was a problem hiding this comment.
🐕 Shuni's Review
Follow-up on the failOnConflict PR: the author restored the 3-arg updateEmail/updatePhone overloads, delegating to the 4-arg versions with false as the default, which fixes both breaking-change findings from the last pass.
Sniffed out 0 issues.
Both prior threads are resolved — nothing new here. Good bones! Woof!
Declared coverage: FULL — 3/3 changed files reviewed.
Related Issues
Fixes https://github.com/descope/etc/issues/17716
Description
Add failOnConflict boolean flag to the updates
Must