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

diag: Added Diagnostics type Equal() method #402

Merged
merged 3 commits into from
Jul 8, 2022
Merged

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Jul 7, 2022

Closes #397

This should help simplify downstream code wishing use testing libraries that perform equality checks based on types that implement Equal() methods, such as go-cmp.

Reference: #397

This should help simplify downstream code wishing use testing libraries that perform equality checks based on types that implement `Equal()` methods, such as [`go-cmp`](https://pkg.go.dev/github.com/google/go-cmp).
@bflad bflad added enhancement New feature or request diags Issues and pull requests about our diagnostics abstraction. labels Jul 7, 2022
@bflad bflad requested a review from a team as a code owner July 7, 2022 23:40
Copy link
Contributor

@detro detro left a comment

Choose a reason for hiding this comment

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

LGTM

@bflad bflad added this to the v0.10.0 milestone Jul 8, 2022
@bflad bflad merged commit 2e70136 into main Jul 8, 2022
@bflad bflad deleted the bflad-diagnostics-equal branch July 8, 2022 12:30
@github-actions
Copy link

github-actions bot commented Aug 8, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
diags Issues and pull requests about our diagnostics abstraction. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

diag: Consider Equal() method for Diagnostics
2 participants