Skip to content

Renames FailedResult and SuccessResult -> Failure and Success#1

Merged
joseftw merged 2 commits into
mainfrom
feature/rename-result-helpers
Oct 27, 2025
Merged

Renames FailedResult and SuccessResult -> Failure and Success#1
joseftw merged 2 commits into
mainfrom
feature/rename-result-helpers

Conversation

@joseftw

@joseftw joseftw commented Oct 27, 2025

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings October 27, 2025 20:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR renames the FailedResult and SucceededResult classes to Failure and Success respectively, simplifying the naming convention for the result types. The changes also include package version updates.

  • Renames SucceededResultSuccess and FailedResultFailure across the codebase
  • Updates test files to use the new class names
  • Updates several package versions in Directory.Packages.props

Reviewed Changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/JOS.Result/Success.cs New file containing the renamed Success and Success<T> classes
src/JOS.Result/SucceededResult.cs Removed file (replaced by Success.cs)
src/JOS.Result/Failure.cs New file containing the renamed Failure and Failure<T> classes
src/JOS.Result/FailedResult.cs Removed file (replaced by Failure.cs)
test/JOS.Result.Tests/ResultTests.cs Updated test instantiations to use new class names
test/JOS.Result.Tests/ConversionTests.cs Updated conversion tests to use new class names
Directory.Packages.props Updated package versions for dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@joseftw
joseftw merged commit 3fac992 into main Oct 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants