PeriodPals / periodpals

3 stars 1 forks source link

feat/profile/upsert #186

Closed coaguila closed 2 weeks ago

coaguila commented 2 weeks ago

Add Upsert function to UserModel and UserViewModel

Description

This PR introduces a new feature upsert feature within userModel. Upsert takes an UserDto and inserts if it doesnt exists else it updates. It closes issue #164

Changes

Adds upsertUserProfile to UserModel and implements it in loadUserProfile to UserViewModel.

Files

Added

Modified

Removed

Dependencies Added

Testing

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
88.2% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud