Skip to content

Commit

Permalink
Merge pull request #868 from ChiefMonk/main
Browse files Browse the repository at this point in the history
Added System.Text.Json Service as the default de/serializer
  • Loading branch information
iammukeshm committed Jul 6, 2023
2 parents 56dc423 + 3be896b commit 254f06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Infrastructure.Test/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Startup
.AddTransient<IMemoryCache, MemoryCache>()
.AddTransient<LocalCacheService>()
.AddTransient<IDistributedCache, MemoryDistributedCache>()
.AddTransient<ISerializerService, NewtonSoftService>()
.AddTransient<ISerializerService, SystemTextJsonService>()

Check failure on line 25 in tests/Infrastructure.Test/Startup.cs

View workflow job for this annotation

GitHub Actions / Build

The type or namespace name 'SystemTextJsonService' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 25 in tests/Infrastructure.Test/Startup.cs

View workflow job for this annotation

GitHub Actions / Build

The type or namespace name 'SystemTextJsonService' could not be found (are you missing a using directive or an assembly reference?)
.AddTransient<DistributedCacheService>()

.AddPOLocalization(context.Configuration)
Expand Down

1 comment on commit 254f06c

@dsolteszopyn
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

project doesn't build, where is SystemTextJsonService?

Please sign in to comment.