Skip to content

Refactor to use Result<T> pattern for queries and handlers#411

Merged
StuartFerguson merged 3 commits intomainfrom
task/#407_manager_return_results
Feb 13, 2026
Merged

Refactor to use Result<T> pattern for queries and handlers#411
StuartFerguson merged 3 commits intomainfrom
task/#407_manager_return_results

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Standardized all business logic and request handler methods to return Result for consistent error and not-found handling. Introduced helper methods in ReportingManager for safe query execution. Updated all MediatR handlers to propagate Result directly. Upgraded Shared, Shared.Results, and related NuGet packages to 2026.2.1. Improved error handling, code consistency, and maintainability across the API.

closes #407

Standardized all business logic and request handler methods to return Result<T> for consistent error and not-found handling. Introduced helper methods in ReportingManager for safe query execution. Updated all MediatR handlers to propagate Result<T> directly. Upgraded Shared, Shared.Results, and related NuGet packages to 2026.2.1. Improved error handling, code consistency, and maintainability across the API.
@StuartFerguson StuartFerguson merged commit fa96383 into main Feb 13, 2026
8 checks passed
@github-actions github-actions Bot deleted the task/#407_manager_return_results branch April 14, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reporting Manager return results

1 participant