Skip to content

Docs: what a generated reader's name check costs, and where a failure is caught - #277

Open
electricessence wants to merge 1 commit into
masterfrom
docs/generated-reader-notes
Open

electricessence wants to merge 1 commit into
masterfrom
docs/generated-reader-notes

Conversation

@electricessence

Copy link
Copy Markdown
Collaborator
  • The mapping page says what the per-result-set name match costs (about a nanosecond per column, once per result set, not per row) and that a model whose members all declare [Column(Order = n)] skips it. It also adds the missing blank line before "To switch the generator off".
  • The generator's README says the same under Binding, and under Errors says that the loop catches around its call of the row reader alone: a failure of the read itself, of adding the row or of a cancel passes through unchanged, and a row reader that cannot load is reported as a failed row with the load error inside.

🤖 Generated with Claude Code

… is caught

- The mapping page says what the per-result-set name match costs (about a nanosecond per column, once per result set, not per row) and that a model whose members all declare `[Column(Order = n)]` skips it. It also adds the missing blank line before "To switch the generator off".
- The generator's README says the same under Binding, and under Errors says that the loop catches around its call of the row reader alone: a failure of the read itself, of adding the row or of a cancel passes through unchanged, and a row reader that cannot load is reported as a failed row with the load error inside.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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