-
Notifications
You must be signed in to change notification settings - Fork 797
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
Fixes some build issues #1952
Fixes some build issues #1952
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #1952 +/- ##
==========================================
- Coverage 66.39% 66.32% -0.07%
==========================================
Files 250 250
Lines 8644 8644
Branches 614 614
==========================================
- Hits 5739 5733 -6
- Misses 2752 2756 +4
- Partials 153 155 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
What issues? |
@@ -5,23 +5,21 @@ namespace HealthChecks.UI.Data | |||
{ | |||
public class HealthChecksDb : DbContext | |||
{ | |||
public DbSet<HealthCheckConfiguration> Configurations { get; set; } | |||
public DbSet<HealthCheckConfiguration> Configurations => Set<HealthCheckConfiguration>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this done?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, false positive. I will close the PR
I have removed the pragma warning for CS8618 and made use of Set to prevent CS8618 according https://learn.microsoft.com/en-us/ef/core/miscellaneous/nullable-reference-types#dbcontext-and-dbset |
Fixes some build issues