Skip to content

Split the README into a focused walkthrough and topic docs #91

Open

Description

@feO2x

README.md has about 1,500 lines and works as pitch, tutorial and reference at the same time. The library's main promise — a Result<T> survives the trip across a process boundary — is never shown in one piece, large parts of the public API are undocumented, and some statements are inaccurate.

Goal

  • Shorten README.md to one continuous walkthrough (return a result, validate the DTO, expose it via Minimal APIs, read it back with ReadResultAsync<T>()), keeping "When to Use Result vs. Exceptions" and adding a short "Not Just HTTP" section for CloudEvents, OpenAPI and Native AOT.
  • Move all other information into topic pages in a new docs/ folder, without losing any of it.
  • Fill documentation gaps: metadata annotations and builders, HTTP headers and enrichers, CloudEvents wire format, the built-in validation check catalog, error overrides, message templates, and the source generator diagnostics.
  • Fix inaccuracies: the validation performance claim (compare against singleton FluentValidation), the static NuGet badge, the source generation sample that does not compile, the missing target-framework statement, and the source generator help links that point to a non-existent README anchor.
  • Add tests that run the README walkthrough end to end and check all links and anchors in README.md and docs/.

The detailed plan is in ai-plans/ on the corresponding branch.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions