Trying to get it working with Saturn, but I think it's conflicting with Saturn's requestId
plug
Add this package to a Saturn app, and all requests fail. For example:
[17:15:01 INF] GET Request at /
[17:15:01 ERR] Error at / took 74 ms
System.ArgumentException: An item with the same key has already been added. Key: RequestId
at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object key)
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at <StartupCode$Giraffe-SerilogExtensions>[email protected](Unit unitVar) in C:\projects\giraffe-serilog\src\Giraffe.SerilogExtensions\SerilogAdapter.fs:line 41
at FSharp.Control.Tasks.TaskBuilder.tryWith[a](FSharpFunc`2 step, FSharpFunc`2 catch) in C:\Users\humbo\source\repos\TaskBuilder.fs\TaskBuilder.fs:line 165