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

Fixes some build issues #1952

Closed
wants to merge 2 commits into from

Conversation

michaelmairegger
Copy link
Contributor

Fixes some build issues

@github-actions github-actions bot added the UI label Jul 24, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #1952 (e2fe29f) into master (109967b) will decrease coverage by 0.07%.
The diff coverage is 83.33%.

❗ 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     
Flag Coverage Δ
UI 65.81% <83.33%> (-0.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/HealthChecks.UI.Data/HealthChecksDb.cs 77.77% <80.00%> (-5.56%) ⬇️
...cks.UI/Middleware/UIApiRequestLimitingMidleware.cs 87.50% <100.00%> (ø)

... and 2 files with indirect coverage changes

@sungam3r
Copy link
Collaborator

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>();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this done?

Copy link
Contributor Author

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

@michaelmairegger
Copy link
Contributor Author

What issues?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants