-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Milestone
Description
Type of issue
Code doesn't work
Description
I created a test project and ran the code exactly as provided. The validation fails. After some debugging, it turns out the exclamation mark does not pass the regular expression, and so fails the validation.
I would recommend you either remove the exclamation mark, or add a note saying that the validation will fail due to the exclamation mark to make this clearer if it was intentional.
"MyCustomSettingsSection": { "SiteTitle": "Amazing docs from awesome people!", "Scale": 10, "VerbosityLevel": 32 },
Page URL
https://learn.microsoft.com/en-us/dotnet/core/extensions/options-validation-generator
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/extensions/options-validation-generator.md
Document Version Independent Id
0775474e-7773-d061-ed21-0a360c8466b1
Article author
Metadata
- ID: 533f4fc6-bb7c-874d-6639-ea215af95ed3
- Service: dotnet-fundamentals