Skip to content

Commit

Permalink
Move suppress message in Patient Data Access for AB#16872.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMaki committed Jan 7, 2025
1 parent 6dbfdc9 commit 70eccda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Apps/PatientDataAccess/src/PatientDataRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ namespace HealthGateway.PatientDataAccess
/// </summary>
/// <param name="patientApi">The patient API to use.</param>
/// <param name="mapper">The injected mapper.</param>
[SuppressMessage("Style", "IDE0072:Switch expression should be exhaustive", Justification = "Team decision")]
internal class PatientDataRepository(IPatientApi patientApi, IMapper mapper) : IPatientDataRepository
{
/// <summary>
Expand All @@ -51,6 +50,7 @@ public async Task<PatientDataQueryResult> QueryAsync(PatientDataQuery query, Can
};
}

[SuppressMessage("Style", "IDE0072:Populate switch", Justification = "Team decision")]
private static string? MapHealthOptionsCategories(HealthCategory category)
{
return category switch
Expand All @@ -60,6 +60,7 @@ public async Task<PatientDataQueryResult> QueryAsync(PatientDataQuery query, Can
};
}

[SuppressMessage("Style", "IDE0072:Populate switch", Justification = "Team decision")]
private static string? MapHealthDataCategories(HealthCategory category)
{
return category switch
Expand Down

0 comments on commit 70eccda

Please sign in to comment.