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

Support new Options attributes in the Runtime #90275

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

tarekgh
Copy link
Member

@tarekgh tarekgh commented Aug 9, 2023

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
Copy link

ghost commented Aug 9, 2023

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
Copy link
Member Author

tarekgh commented Aug 9, 2023

FYI, @geeknoid @joperezr @jeffhandley

@tarekgh tarekgh merged commit bc43b7e into dotnet:main Aug 10, 2023
103 checks passed
@ghost ghost locked as resolved and limited conversation to collaborators Sep 10, 2023
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.

None yet

3 participants