Skip to content

Conversation

@captainsafia
Copy link
Member

No description provided.

Copy link
Contributor

@layomia layomia left a comment

Choose a reason for hiding this comment

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

Looks good.


VerifyConfigBindingGeneratorIsUsed(asset, isEnabled);
VerifyInterceptorsFeatureEnabled(asset, isEnabled);
VerifyInterceptorsFeatureEnabled(asset, isEnabled, "Microsoft.Extensions.Configuration.Binder.SourceGeneration");
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: these Verify* method names read like they (always) assert that the generator(s) are used/enabled. Consider using names that indicate that the expected behavior depends on whether the generator is enabled (e.g VerifyInterceptorsFeatureSettingIsCorrect).

@captainsafia
Copy link
Member Author

Merging. This is not a breaking change and doesn't introduce new behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants