Skip to content

[feature/10.0] Move binding logic to descriptors #8126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 21, 2025

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented Apr 18, 2025

This is in preparation for using the configuration binding source generator, which needs the concrete type of the settings object to be available at the Bind callsite. We have that type available in the descriptors, so that seems like a natural place to do it. This change replaces the generic descriptor types with concrete ones that use the specific settings types.

@sbomer sbomer marked this pull request as ready for review April 18, 2025 22:36
@sbomer sbomer requested a review from a team as a code owner April 18, 2025 22:36
@sbomer sbomer requested a review from jander-msft April 18, 2025 22:36
@sbomer sbomer changed the title Move binding logic to descriptors [feature/10.0] Move binding logic to descriptors Apr 18, 2025
- Don't construct descriptors explicitly
@jander-msft jander-msft merged commit 81cf86d into dotnet:feature/10.0 Apr 21, 2025
22 checks passed
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.

2 participants