Skip to content

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented May 14, 2025

For now this checks in the generated code with fixes for dotnet/runtime#115347.

ValidationContext itemContext = new(item, validationContext, validationContext.Items);
itemContext.MemberName = validationContext.MemberName + "[" + index.ToString() + "]";

Validator.TryValidateObject(item, itemContext, results);
Copy link
Member Author

Choose a reason for hiding this comment

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

This was the call we need to remove

@wiktork wiktork changed the title [WIP] Use options validation source generator [feature/10.0][WIP] Use options validation source generator Jun 20, 2025
Copy link
Contributor

The 'no-recent-activity' label has been added to this pull request due to four weeks without any activity. If there is no activity in the next six weeks, this pull request will automatically be closed. You can learn more about our stale PR policy here: https://github.com/dotnet/dotnet-monitor/blob/main/CONTRIBUTING.md#stale-pr-policy

@dotnet-policy-service dotnet-policy-service bot added the no-recent-activity Automatically added by bot after four weeks of inactivity label Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-review no-recent-activity Automatically added by bot after four weeks of inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant