Skip to content

Refactored UpdateGuest endpoint#254

Merged
Dao-Ho merged 1 commit intomainfrom
fix/guest-update-endpoint
Apr 4, 2026
Merged

Refactored UpdateGuest endpoint#254
Dao-Ho merged 1 commit intomainfrom
fix/guest-update-endpoint

Conversation

@manueltorres0
Copy link
Copy Markdown
Contributor

  • refactored the update guest endpoint to allow for updating of notes + the update guest model
  • made all update fields optional
  • updated the handler level tests

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 20.32%. Comparing base (6033a10) to head (fa0fd15).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
backend/internal/repository/guests.go 0.00% 8 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #254      +/-   ##
==========================================
- Coverage   20.37%   20.32%   -0.05%     
==========================================
  Files          39       39              
  Lines        1453     1456       +3     
==========================================
  Hits          296      296              
- Misses       1153     1156       +3     
  Partials        4        4              
Flag Coverage Δ
backend 20.32% <0.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
backend/internal/repository/guests.go 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@Dao-Ho Dao-Ho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@Dao-Ho Dao-Ho merged commit 4117ffc into main Apr 4, 2026
7 checks passed
@Dao-Ho Dao-Ho deleted the fix/guest-update-endpoint branch April 4, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants