We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 464fe49 commit cbd4215Copy full SHA for cbd4215
1 file changed
src/ProblemDetails/ProblemDetailsOptions.cs
@@ -55,7 +55,7 @@ public ProblemDetailsOptions()
55
/// The default gets the ID from <see cref="Activity.Current"/> with a
56
/// fallback to <see cref="HttpContext.TraceIdentifier"/>.
57
/// </summary>
58
- public Func<HttpContext, string> GetTraceId { get; set; } = null!;
+ public Func<HttpContext, string?> GetTraceId { get; set; } = null!;
59
60
/// <summary>
61
/// Gets or sets the predicate used for determining whether exception details (stack trace etc.)
0 commit comments