Fixed crash loop
This commit is contained in:
@@ -3,7 +3,7 @@ namespace PostFundManagement.Application.Mcp;
|
||||
/// <summary>
|
||||
/// Token-optimized standardized tool response wrapper for MCP tool execution.
|
||||
/// </summary>
|
||||
public record Records<T>(bool Success, T? Data = default, string? Message = null, IReadOnlyList<string>? Errors = null)
|
||||
public record Records<T>(bool Success, T? Data, string? Message = null, IReadOnlyList<string>? Errors = null)
|
||||
{
|
||||
public static Records<T> Ok(T data, string? message = null) => new(true, data, message, null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user