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

*: update ResponseError type #142

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

fuweid
Copy link
Collaborator

@fuweid fuweid commented Dec 18, 2024

  • Show Code/Message so that it's easy to generate database schema
  • Add URL in error

* Show Code/Message so that it's easy to generate database schema
* Add URL in error

Signed-off-by: Wei Fu <[email protected]>
@fuweid fuweid requested a review from Copilot December 18, 2024 03:00

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

api/types/metric.go:34

  • Changing the Code field from optional (omitempty) to mandatory could lead to issues if there are scenarios where this field is not always populated. Consider keeping it optional.
Code int `json:"code"`

api/types/metric.go:38

  • Changing the Message field from optional (omitempty) to mandatory could lead to issues if there are scenarios where this field is not always populated. Consider keeping it optional.
Message string `json:"message"`
@fuweid fuweid merged commit 66af6c9 into Azure:main Dec 18, 2024
4 checks passed
@fuweid fuweid deleted the weifu/update-errors branch December 18, 2024 03:03
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.

1 participant