Skip to content

Clarify how configuration binder binds types - #55762

Merged
gewarren merged 3 commits into
mainfrom
configuration-binder-types
Aug 28, 2026
Merged

Clarify how configuration binder binds types#55762
gewarren merged 3 commits into
mainfrom
configuration-binder-types

Conversation

@svick

@svick svick commented Aug 27, 2026

Copy link
Copy Markdown
Member

The old list was incomplete and inaccurate (especially for the source generator binder).

The new list should be accurate and complete, without going into too much detail (it's probably not useful to explicitly list the types supported by the source generator binder here).


Internal previews

File Preview link
docs/core/extensions/configuration.md Learn preview

Build report

@svick
svick requested review from mrek-msft and rosebyte and a lite review from Copilot August 27, 2026 15:44
@svick
svick requested review from a team and gewarren as code owners August 27, 2026 15:44
@dotnetrepoman dotnetrepoman Bot added this to the August 2026 milestone Aug 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Binding section in configuration.md to replace an incomplete/inaccurate list with a clearer, more complete summary of how the configuration binder binds different target shapes and types (including a note about a source-generator limitation).

Changes:

  • Replaces the prior high-level binder “approaches” list with a more concrete set of binding behaviors (scalar conversion, hierarchical binding, collection binding, section passthrough, and custom conversion).
  • Adds an explicit note that TypeConverter-based custom conversions aren’t supported by the source generator binder.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/core/extensions/configuration.md Outdated

@rosebyte rosebyte left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot has a good point with the ...s suffixes, otherwise LGTM.

svick and others added 2 commits August 28, 2026 14:11
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@gewarren
gewarren merged commit 9f01965 into main Aug 28, 2026
12 checks passed
@gewarren
gewarren deleted the configuration-binder-types branch August 28, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants