Skip to content

Commit

Permalink
refactor: Update AspireVersion to 8.2.0 and Marten.AspNetCore to 7.26.4
Browse files Browse the repository at this point in the history
  • Loading branch information
foxminchan committed Aug 30, 2024
1 parent dbb36f1 commit 186c98b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<AspireVersion>8.1.0</AspireVersion>
<AspireVersion>8.2.0</AspireVersion>
<AspirantVersion>0.0.4</AspirantVersion>
<MicrosoftExtensionsVersion>8.8.0</MicrosoftExtensionsVersion>
<AspnetVersion>8.0.8</AspnetVersion>
Expand Down Expand Up @@ -74,7 +74,6 @@
<PackageVersion Include="Duende.BFF.Yarp" Version="2.2.0" />
<PackageVersion Include="Duende.IdentityServer.AspNetIdentity" Version="7.0.6" />
<!-- Xabaril -->
<PackageVersion Include="AspNetCore.HealthChecks.UI" Version="$(XabarilVersion)" />
<PackageVersion Include="AspNetCore.HealthChecks.UI.Client" Version="$(XabarilVersion)" />
<!-- Testing -->
<PackageVersion Include="xunit" Version="2.9.0" />
Expand All @@ -85,7 +84,7 @@
<PackageVersion Include="Moq" Version="4.20.70" />
<PackageVersion Include="FluentAssertions" Version="7.0.0-alpha.4" />
<PackageVersion Include="ReportGenerator" Version="5.3.8" />
<PackageVersion Include="WireMock.Net.Aspire" Version="0.0.1-preview-05" />
<PackageVersion Include="WireMock.Net.Aspire" Version="1.6.1" />
<!-- Grpc -->
<PackageVersion Include="Grpc.AspNetCore" Version="$(GrpcVersion)" />
<PackageVersion Include="Grpc.AspNetCore.Server.ClientFactory" Version="$(GrpcVersion)" />
Expand All @@ -98,9 +97,9 @@
<!-- Miscellaneous -->
<PackageVersion Include="Scrutor" Version="4.2.2" />
<PackageVersion Include="MediatR" Version="12.4.0" />
<PackageVersion Include="Marten.AspNetCore" Version="7.26.3" />
<PackageVersion Include="Marten.AspNetCore" Version="7.26.4" />
<PackageVersion Include="FluentEmail.Mailtrap" Version="2.7.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.7.2" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.7.3" />
<PackageVersion Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageVersion Include="Microsoft.Web.LibraryManager.Build" Version="2.1.175" />
<PackageVersion Include="MicroElements.Swashbuckle.FluentValidation" Version="6.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/BookWorm.Identity/AppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace BookWorm.Identity;

public class AppSettings
public sealed class AppSettings
{
public ServiceOptions Services { get; set; } = new();
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="AspNetCore.HealthChecks.UI" />
<PackageReference Include="AspNetCore.HealthChecks.UI.Client" />
<PackageReference Include="Swashbuckle.AspNetCore" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
Expand Down
2 changes: 1 addition & 1 deletion src/BookWorm.Shared/Identity/IdentityService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace BookWorm.Shared.Identity;

public class IdentityService(IHttpContextAccessor httpContext) : IIdentityService
public sealed class IdentityService(IHttpContextAccessor httpContext) : IIdentityService
{
public string? GetUserIdentity()
{
Expand Down
2 changes: 1 addition & 1 deletion src/BookWorm.Shared/Logging/ApplicationEnricher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace BookWorm.Shared.Logging;

public class ApplicationEnricher(IHttpContextAccessor httpContextAccessor) : ILogEnricher
public sealed class ApplicationEnricher(IHttpContextAccessor httpContextAccessor) : ILogEnricher
{
public void Enrich(IEnrichmentTagCollector collector)
{
Expand Down
2 changes: 1 addition & 1 deletion src/BookWorm.Shared/Pipelines/MetricsBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace BookWorm.Shared.Pipelines;

public class MetricsBehavior<TRequest, TResponse>(
public sealed class MetricsBehavior<TRequest, TResponse>(
IRequestHandler<TRequest, TResponse> requestHandler,
IActivityScope activityScope,
CommandHandlerMetrics commandMetrics,
Expand Down

0 comments on commit 186c98b

Please sign in to comment.