Skip to content

Rewrite the package READMEs, descriptions and tags of the four published packages, and fix three docsite statements - #319

Merged
electricessence merged 6 commits into
masterfrom
docs/package-readmes
Dec 4, 2026
Merged

electricessence merged 6 commits into
masterfrom
docs/package-readmes

Conversation

@electricessence

@electricessence electricessence commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Each of the four published packages (Core, MSSqlClient, Channel, Dataflow) gets a README that shows a defined query first, a NuGet description and tags that say what the package is for, and docsite pages that agree with it. Docs and package metadata only: no code change.

  • READMEs. The four package READMEs are rewritten around the definition-first wording the docsite uses ("Define a query once"), with an ad hoc call second. Every sample passes a cancellation token on an async terminal. Core is the only README with the package table; the others say what they add and link to it. The hero banner stays the first element after the title in each, with the same address, alt text and link as before (the images stay on master; the four hero-*.svg file names are permanent).
  • Description and tags. <Description> and <PackageTags> of the four packages say what the package does instead of "useful set of utilities", and avoid "orm" and competitor names. All four packed .nupkg files carry the README, the new description and the new tags.
  • Trimming and native AOT moves from the Core README to a new section at the end of docsite/articles/mapping.md, and the README links to it. The "no public constructor" message it quotes is said to start with that text, since the message now goes on to say how to fix it.
  • Statements in whats-new-11.md and channels-and-dataflow.md that did not match the code are fixed. Output parameters can be set on the chain (Output<TOut>(), CaptureOutput); there are no synchronous ToTargetBlock overloads, so the line now says what a block that declines a row does (the pass stops without an exception); Open.ChannelExtensions is an optional companion of the Channel package, which depends only on Core; the line about "unmapped ToChannel overloads" is removed, since the Channel package has only the overloads of a mapped query; and the line on providers that report no procedure parameter names says to pass the declared name with AddParam(name, value).

Install lines keep --prerelease until GA.

Verification: all 12 README samples compile (3 per package; compiled, not run); docfx 0 warnings and 0 errors, and all 33 README links and anchors resolve in the built site; each README's hero address is on line 3; the members the Channel README names (Transform, Batch, Join, ReadAll) are public in the latest Open.ChannelExtensions; solution Release build 0 warnings, 0 errors; Core.Tests Release 16229 passed, Debug 16208 passed and 16 self-skipped; 267 sample checks; style and analyzers at info 0 findings in all 14 projects; Visual Studio's MSBuild 0 errors; leak scan and style scan clean.

🤖 Generated with Claude Code

electricessence and others added 6 commits December 4, 2026 09:59
…ale docsite statements

The trimming and native AOT section moves, as written, from the Core
package README to the end of the mapping article, where the docsite owns
it. The known-limitations list in the version 11 article now links to it
there, and the package README no longer has to carry it.

Three statements in docsite articles did not match the code:
- The output parameters limitation said they are not set on the chain.
  They are read with Output<TOut>() and ExecuteOutputAsync, or beside rows
  with CaptureOutput; the limitation now says that, and that there is no
  blocking form and an output model uses the runtime map.
- The limitation about synchronous ToTargetBlock overloads described
  overloads that do not exist; every ToTargetBlock overload returns a
  ValueTask<long> and sends with SendAsync. It now states what does happen:
  a block that declines a row for good stops the pass without an exception,
  and only the returned count shows the shortfall.
- The Channels and Dataflow article said to import Open.ChannelExtensions
  alongside the Channel package. The Channel package depends only on Core,
  so it now calls Open.ChannelExtensions an optional companion.

Documentation only; no code or run-time cost changes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…e four published packages

Each README now leads with what the package does for the reader, shows a
definition-first sample (a query declared once, then the same call built
where it is needed), passes a cancellation token in every sample, and says
the traps in a short "Good to know" list (one connection factory, give a
stored procedure its schema, AddParams sends every declared member, the
rows a consumer has not read wait in memory, a declined row stops a
dataflow pass without an exception). The package table now lives in the
Core README only; the others link to it. The hero image links stay on
master.

The Description and PackageTags of Core, MSSqlClient, Channel and Dataflow
say what a reader can choose on, and the double space in the Channel and
Dataflow descriptions is gone. The tags avoid "orm" and competitor names.

Documentation and package metadata only; no code or run-time cost changes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ince the message goes on to say how to fix it

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…o not exist, and say what to do about a provider's parameter names

Source/Channel has only the ToChannel overloads of a mapped query, so the line described nothing. The line on a provider that reports no procedure parameter names now says to pass the declared name with AddParam(name, value).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@electricessence
electricessence merged commit 45fe708 into master Dec 4, 2026
9 checks passed
@electricessence
electricessence deleted the docs/package-readmes branch December 4, 2026 19:29
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.

1 participant