Skip to content

Conversation

@adamrefaey
Copy link
Collaborator

Change

enhance report update with default values for missing fields and improved error handling

Does this PR introduce a breaking change?

{...}

What needs to be documented once your changes are merged?

{...}

Additional Comments

{...}

@adamrefaey adamrefaey requested a review from Copilot April 28, 2025 17:12
@adamrefaey adamrefaey self-assigned this Apr 28, 2025
@adamrefaey adamrefaey requested a review from GuidoBR April 28, 2025 17:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the report update functionality by introducing default values for missing fields and providing more detailed error messages when an update fails.

  • Defaults are applied to missingInformation, isMedicalReport, and a new errorMessage field.
  • The error handling now includes the error’s message when available.

@GuidoBR GuidoBR merged commit 6eac454 into main Apr 28, 2025
1 check passed
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