Skip to content
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

Update binding generator to do case-insensitive config-key/property name matching, & make some formatting improvements #88338

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

@layomia layomia added area-Extensions-Configuration source-generator Indicates an issue with a source generator feature labels Jul 3, 2023
@layomia layomia added this to the 8.0.0 milestone Jul 3, 2023
@layomia layomia self-assigned this Jul 3, 2023
@ghost
Copy link

ghost commented Jul 3, 2023

Tagging subscribers to this area: @dotnet/area-extensions-configuration
See info in area-owners.md if you want to be subscribed.

Issue Details
Author: layomia
Assignees: layomia
Labels:

area-Extensions-Configuration, source-generator

Milestone: 8.0.0

…ame matching, & make some formatting improvements
@layomia layomia force-pushed the binder-gen-fixes branch 3 times, most recently from f9e16d6 to dee11a0 Compare July 11, 2023 20:10
Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

It might be good to get a review from @tarekgh and/or @eiriktsarpalis as well.

}
}

public static void BindCore(IConfiguration configuration, ref List<int> obj, BinderOptions? binderOptions)
Copy link
Member

Choose a reason for hiding this comment

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

ref

why this is a ref? Is it possible we create this list in other situations?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Similar question here #88338 (comment); I need to take a deeper look outside this PR.

Copy link
Member

@tarekgh tarekgh left a comment

Choose a reason for hiding this comment

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

LGTM. added a couple of questions.

@layomia layomia merged commit e4e0810 into dotnet:main Jul 12, 2023
103 checks passed
@layomia layomia deleted the binder-gen-fixes branch July 12, 2023 17:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Extensions-Configuration source-generator Indicates an issue with a source generator feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConfigurationBinder Source Generator is comparing configuration keys case-sensitively
4 participants