Repository navigation
Rewrite the package READMEs, descriptions and tags of the four published packages, and fix three docsite statements - #319
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
master; the fourhero-*.svgfile names are permanent).<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.nupkgfiles carry the README, the new description and the new tags.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.whats-new-11.mdandchannels-and-dataflow.mdthat did not match the code are fixed. Output parameters can be set on the chain (Output<TOut>(),CaptureOutput); there are no synchronousToTargetBlockoverloads, so the line now says what a block that declines a row does (the pass stops without an exception);Open.ChannelExtensionsis an optional companion of the Channel package, which depends only on Core; the line about "unmappedToChanneloverloads" 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 withAddParam(name, value).Install lines keep
--prereleaseuntil 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