Skip to content
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

Map from Requests to Domain models #298

Merged
merged 11 commits into from
Dec 12, 2023
Merged

Map from Requests to Domain models #298

merged 11 commits into from
Dec 12, 2023

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented Oct 20, 2023

Type of change

- [ ] Bug fix
- [x] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other

Objective

Implements many of the translators from Request models to Domain models. Wires us up for hooking-up the sync response handling.

Before you submit

  • Please add unit tests where it makes sense to do so (encouraged but not required)

@bitwarden-bot
Copy link

bitwarden-bot commented Oct 20, 2023

Logo
Checkmarx One – Scan Summary & Detailsc0792313-afe4-4790-be32-a667daed0b83

No New Or Fixed Issues Found

# Conflicts:
#	crates/bitwarden/src/crypto/enc_string.rs
#	crates/bitwarden/src/vault/cipher/attachment.rs
#	crates/bitwarden/src/vault/cipher/card.rs
#	crates/bitwarden/src/vault/cipher/cipher.rs
#	crates/bitwarden/src/vault/cipher/field.rs
#	crates/bitwarden/src/vault/cipher/identity.rs
#	crates/bitwarden/src/vault/cipher/login.rs
#	crates/bitwarden/src/vault/cipher/secure_note.rs
#	crates/bitwarden/src/vault/collection.rs
#	crates/bitwarden/src/vault/folder.rs
#	crates/bitwarden/src/vault/password_history.rs
#	crates/bitwarden/src/vault/send.rs
@Hinton Hinton marked this pull request as ready for review December 11, 2023 10:16
@Hinton Hinton changed the title Implement sync transformers Map from Requests to Domain models Dec 11, 2023
@Hinton Hinton requested a review from dani-garcia December 11, 2023 10:39
crates/bitwarden/src/admin_console/policy.rs Show resolved Hide resolved
crates/bitwarden/src/vault/cipher/attachment.rs Outdated Show resolved Hide resolved
crates/bitwarden/src/crypto/enc_string.rs Outdated Show resolved Hide resolved
crates/bitwarden/src/platform/sync.rs Outdated Show resolved Hide resolved
@Hinton Hinton merged commit f17bac3 into master Dec 12, 2023
40 checks passed
@Hinton Hinton deleted the ps/sync branch December 12, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants