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

Remove Equ usage #552

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Remove Equ usage #552

wants to merge 4 commits into from

Conversation

jas88
Copy link
Member

@jas88 jas88 commented Aug 21, 2024

Replace Equ - only one non-trivial usage, removes dependency and some unnecessary reflection internally.

@jas88 jas88 requested a review from rkm August 21, 2024 11:41
Copy link
Member

@rkm rkm left a comment

Choose a reason for hiding this comment

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

You'll also need to remove it from Directory.packages.props


/// <summary>
/// Description of the item being evaluated (e.g. table name, file name etc)
/// </summary>
public string Resource { get; set; }
public string? Resource { get; init; }
Copy link
Member

Choose a reason for hiding this comment

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

This seems unrelated to the Equ removal? Also, I don't think this (and others) should ever be null really.

James A Sutherland and others added 3 commits August 21, 2024 08:03
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 65.38462% with 18 lines in your changes missing coverage. Please review.

Project coverage is 39.37%. Comparing base (2c40be5) to head (f40a813).

Files Patch % Lines
IsIdentifiable/Rules/RegexRule.cs 61.90% 2 Missing and 6 partials ⚠️
IsIdentifiable/Failures/FailurePart.cs 37.50% 2 Missing and 3 partials ⚠️
IsIdentifiable/Rules/ConsensusRule.cs 25.00% 2 Missing and 1 partial ⚠️
IsIdentifiable/Failures/Failure.cs 94.44% 0 Missing and 1 partial ⚠️
IsIdentifiable/Rules/SocketRule.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #552      +/-   ##
==========================================
- Coverage   39.51%   39.37%   -0.14%     
==========================================
  Files          68       68              
  Lines        3837     3843       +6     
  Branches      521      529       +8     
==========================================
- Hits         1516     1513       -3     
- Misses       2224     2226       +2     
- Partials       97      104       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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