Skip to content

Support new Options attributes in the Runtime - #90275

Merged
tarekgh merged 2 commits into
dotnet:mainfrom
tarekgh:SupportNewOptionsAttributesInTheRuntime
Aug 10, 2023
Merged

tarekgh merged 2 commits into
dotnet:mainfrom
tarekgh:SupportNewOptionsAttributesInTheRuntime

Conversation

@tarekgh

@tarekgh tarekgh commented Aug 9, 2023

Copy link
Copy Markdown
Member

Contribute to #87844

We have introduced two new data validation attributes ValidateObjectMembersAttribute and ValidateEnumeratedItemsAttribute. These attributes are used inside Options source generator. This change is to support the attributes in the Runtime too so options validation will be consistent between the source generator and Runtime.

@ghost ghost assigned tarekgh Aug 9, 2023
@ghost

ghost commented Aug 9, 2023

Copy link
Copy Markdown

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

Issue Details

Contribute to #87844

We have introduced two new data validation attributes ValidateObjectMembersAttribute and ValidateEnumeratedItemsAttribute. These attributes are used inside Options source generator. This change is to support the attributes in the Runtime too so options validation will be consistent between the source generator and Runtime.

Author: tarekgh
Assignees: -
Labels:

area-Extensions-Options

Milestone: -

@tarekgh tarekgh added this to the 8.0.0 milestone Aug 9, 2023
@tarekgh

tarekgh commented Aug 9, 2023

Copy link
Copy Markdown
Member Author

FYI, @geeknoid @joperezr @jeffhandley

@tarekgh
tarekgh requested a review from eiriktsarpalis August 9, 2023 22:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants