Skip to content

Commit

Permalink
Removed debug output in Mapster config.
Browse files Browse the repository at this point in the history
  • Loading branch information
impworks committed Jan 28, 2024
1 parent 96f003d commit b2fa957
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Bonsai/Code/Config/Startup.Mapster.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Diagnostics;
using Bonsai.Code.Infrastructure;
using Bonsai.Code.Infrastructure;
using Mapster;
using MapsterMapper;
using Microsoft.Extensions.DependencyInjection;
Expand All @@ -19,10 +18,7 @@ private void ConfigureMapster(IServiceCollection services)
};

foreach (var map in RuntimeHelper.GetAllInstances<IMapped>())
{
Debug.WriteLine(map.GetType().FullName);
map.Configure(config);
}

config.Compile();
var mapper = new Mapper(config);
Expand Down

0 comments on commit b2fa957

Please sign in to comment.