Repository navigation
List why a Map has no generated reader, with the fix, in one table - #309
Merged
Merged
Conversation
The Generated readers section of the mapping page now has one table of the three outcomes of a Map call: the reader is generated; the runtime map is chosen at build time (one row per reason); the runtime map is used for a result set or a type (when). Each row says what to change to get a generated reader, or that there is no fix. The table is built from the generator's code, and a note under it says which rows still apply to a model whose members all declare their column order. The generator's README keeps one pointer to that table in place of its own lists of declines and requirements, so the list has one home. Its notes on known differences and the generator's mechanism stay. Reviews: swarm of lenses on the truth of each row against the generator code and on the form of the table, applied; a last read of the final changes against the code and the anchors. 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.
The Generated readers section of the mapping page now has one table of the three outcomes of a
Map<T>()call: the reader is generated; the runtime map is chosen at build time (one row per reason); the runtime map is used per type or per result set (when). Each row says what to change to get a generated reader, or that there is no fix. A note under the table says which rows still apply to a model whose members all declare their column order.The table is built from the generator's code (the gate and receiver checks, the model rules, the emitter's per-type and per-result-set checks), not from the README.
The generator's README keeps one pointer to that table in place of its own lists of declines and requirements, so the list has one home. Its known-differences notes and the mechanism sentence stay; the Core README links to the table.
No code change, no diagnostic.
Verification: docfx builds with 0 warnings and 0 errors; style scan and leak check clean.
Reviews: lenses on the truth of each row against the generator code and on the form of the table, applied; a last read of the final changes against the code and the anchors, applied.
🤖 Generated with Claude Code