3 Commits

Author SHA1 Message Date
e16edd63e6 feat:nuget 2025-09-02 14:01:13 -06:00
Sergio Matias Urquin
e5c2dcd2aa Fix: pass the internal server error through layers. 2025-08-31 17:47:58 -06:00
255062adff Update nuget 2025-06-21 22:49:13 -06:00
3 changed files with 11 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ namespace Lib.Architecture.BuildingBlocks.Helpers
}
}
if (refitException.StatusCode == HttpStatusCode.InternalServerError && errorMessage is string)
if (refitException.StatusCode == HttpStatusCode.InternalServerError && (errorMessage is string || errorMessage is HttpError))
port.InternalServerError(errorMessage);
else if (refitException.StatusCode == HttpStatusCode.NotFound)

View File

@@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Core.Blueprint.Mongo" Version="0.3.0-alpha0047" />
<PackageReference Include="Core.Blueprint.Mongo" Version="1.0.0" />
<PackageReference Include="FluentValidation" Version="11.11.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.11.0" />

9
nuget.config Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<!-- Tu BaGet primero -->
<add key="BaGet" value="https://nuget.dream-views.com/v3/index.json" protocolVersion="3" />
<!-- NuGet oficial como fallback (si quieres) -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>