-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Binder gen incremental final #92654
Binder gen incremental final #92654
Conversation
Tagging subscribers to this area: @dotnet/area-extensions-configuration Issue Detailsvisualizing to get minimal diff
|
ebba9ae
to
42889ea
Compare
|
||
public static string GetConfigKeyCacheFieldName(ObjectSpec type) => $"s_configKeys_{type.IdentifierCompatibleSubstring}"; | ||
|
||
public static string GetParseMethodName(ParsableFromStringSpec type) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9:0 - switch to using type.IdentifierCompatibleSubstring
.
// List<string> is used in generated code as a temp holder for formatting | ||
// an error for config properties that don't map to object properties. | ||
_namespaces.Add("System.Collections.Generic"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9.0: only add when object has complex members.
"Microsoft.Extensions.Configuration", | ||
}; | ||
|
||
public BindingHelperInfo ToIncrementalValue() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9.0: reinstate sorting for equatable arrays where possible e.g. changing property order shouldn't cause regeneration.
42889ea
to
e896d99
Compare
e896d99
to
d87fb68
Compare
Merged #89587. |
visualizing to get minimal diff