Skip to content

Add README with usage examples and API docs links#70

Merged
Chris-Wolfgang merged 3 commits into
mainfrom
feature/add-readme
Apr 14, 2026
Merged

Add README with usage examples and API docs links#70
Chris-Wolfgang merged 3 commits into
mainfrom
feature/add-readme

Conversation

@Chris-Wolfgang
Copy link
Copy Markdown
Owner

Summary

  • Add comprehensive README with:
    • NuGet installation instructions
    • Quick Start examples (sync, async, cancellation)
    • Feature table covering Try.Run, Result, and Result
    • Combining results with Flatten/AnyFailed/AllSucceeded
    • Links to API documentation and API reference
    • Target frameworks table
    • Build from source instructions

Test plan

  • Verify README renders correctly on GitHub
  • Verify documentation links resolve

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 14, 2026 00:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a top-level README to document the Wolfgang.TryPattern library, aimed at helping consumers install the NuGet package and understand core APIs and common usage patterns.

Changes:

  • Introduces installation instructions (CLI + Package Manager).
  • Adds usage examples (sync, async, cancellation) and guidance for combining Results.
  • Links to hosted API documentation/reference and provides target framework + build-from-source sections.

Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md
Comment thread README.md
Comment thread README.md
Comment thread README.md
Chris-Wolfgang and others added 2 commits April 13, 2026 20:58
- Database access with Try.Run (sync and async)
- Result as a repository return type (CRUD without Try.Run)
- Web API controller mapping Result to HTTP responses
- Chaining validation with Result.Flatten before execution

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove broken docs/README-FORMATTING.md link (file doesn't exist)
- Clarify RunAsync runs sync action on thread pool, not async
- Update cancellation example to show cooperative token checking

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Chris-Wolfgang Chris-Wolfgang merged commit 2dfc553 into main Apr 14, 2026
6 checks passed
@Chris-Wolfgang Chris-Wolfgang deleted the feature/add-readme branch April 14, 2026 01:43
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