diff --git a/Directory.Packages.props b/Directory.Packages.props index 42d4640..b0c367f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,15 +1,16 @@ - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -17,21 +18,21 @@ - + - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Pandatech.CleanArchitecture.Infrastructure/DependencyInjection.cs b/src/Pandatech.CleanArchitecture.Infrastructure/DependencyInjection.cs index dc45eb5..83c561e 100644 --- a/src/Pandatech.CleanArchitecture.Infrastructure/DependencyInjection.cs +++ b/src/Pandatech.CleanArchitecture.Infrastructure/DependencyInjection.cs @@ -26,7 +26,7 @@ public static WebApplicationBuilder AddInfrastructureLayer(this WebApplicationBu .AddResilienceDefaultPipeline() .AddRedis(KeyPrefix.AssemblyNamePrefix) .AddDistributedSignalR("DistributedSignalR") - .AddPostgresContext(builder.Configuration.GetPostgresUrl()) + .AddPostgresContextPool(builder.Configuration.GetPostgresUrl()) .AddMassTransit(AssemblyRegistry.ToArray()) .AddCommunicator() .AddGridify(typeof(DependencyInjection).Assembly) diff --git a/tests/Pandatech.CleanArchitecture.Test/Pandatech.CleanArchitecture.Test.csproj b/tests/Pandatech.CleanArchitecture.Test/Pandatech.CleanArchitecture.Test.csproj index 85e4bd2..ef8503b 100644 --- a/tests/Pandatech.CleanArchitecture.Test/Pandatech.CleanArchitecture.Test.csproj +++ b/tests/Pandatech.CleanArchitecture.Test/Pandatech.CleanArchitecture.Test.csproj @@ -1,6 +1,7 @@ +