PM-39902: feat: Add data field for updating a cipher with Blob encryption - #7198
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the addition of a nullable Code Review DetailsNo findings. The change is a straightforward passthrough of a new SDK field with no security, correctness, breaking-change, or performance concerns. Minor (not blocking): the round-trip mapping is only exercised with |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7198 +/- ##
==========================================
- Coverage 86.20% 85.70% -0.50%
==========================================
Files 884 896 +12
Lines 64672 65048 +376
Branches 9673 9688 +15
==========================================
+ Hits 55751 55752 +1
- Misses 5456 5831 +375
Partials 3465 3465
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| lastKnownRevisionDate: Instant? = Instant.parse("2023-10-27T12:00:00Z"), | ||
| key: String? = "mockKey-$number", | ||
| archivedDate: Instant? = Instant.parse("2023-10-27T12:00:00Z"), | ||
| data: String? = null, |
There was a problem hiding this comment.
Just to check, all other fields have non null mocked values shouldn't this have something also?
There was a problem hiding this comment.
Good call, I added some fake data here and I also updated the SyncResponseCipherUtil to do the same thing
fb2a73f to
7620575
Compare
|
Thanks @andrebispo5 |
🎟️ Tracking
PM-39902
📔 Objective
This PT adds the
datapayload to the network request payloads responsible to for updating ciphers. This is required to ensure continued functionality with Blob encryption.