-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PM-14186] Update SDK to make SSH key properties required #4200
Conversation
This change updates the handling of SSH key fields (publicKey, privateKey, fingerprint) to treat them as non-nullable.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4200 +/- ##
==========================================
- Coverage 89.09% 89.06% -0.03%
==========================================
Files 445 445
Lines 38645 38642 -3
Branches 5406 5403 -3
==========================================
- Hits 34430 34418 -12
- Misses 2343 2351 +8
- Partials 1872 1873 +1 ☔ View full report in Codecov by Sentry. |
fingerprint = "fingerprint".takeUnless { isEmpty }, | ||
privateKey = "privateKey".takeUnless { isEmpty } ?: "", | ||
publicKey = "publicKey".takeUnless { isEmpty } ?: "", | ||
fingerprint = "fingerprint".takeUnless { isEmpty } ?: "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So is the SshKeyView
requiring the values to be nonnull too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, can we use orEmpty()
?
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-14186
📔 Objective
Update Bitwarden SDK to the latest version.
This change updates the handling of SSH key fields (publicKey, privateKey, fingerprint) to treat them as non-nullable.
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmedissue and could potentially benefit from discussion
:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes