Fix EntryRequirement serialization

This commit is contained in:
2025-03-02 14:33:05 -06:00
parent 085433e108
commit a3fbefe888
6 changed files with 27 additions and 13 deletions

View File

@@ -26,7 +26,9 @@
builder.Services.Configure<ServiceOptions>(builder.Configuration.GetSection("ALttPRandomizer"));
builder.Services.AddLogging(lb => lb.AddConsole());
builder.Services.AddLogging(logger => {
logger.AddConsole();
});
var provider = builder.Services.BuildServiceProvider();
var settings = provider.GetRequiredService<IOptionsMonitor<ServiceOptions>>().CurrentValue!;