The Wayback Machine - https://web.archive.org/web/20220204183143/https://github.com/dotnet/aspnetcore/pull/39990
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 Custom Classes for ValidationMessage (with E2E) #39990

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

@SteveSandersonMS
Copy link
Member

@SteveSandersonMS SteveSandersonMS commented Feb 4, 2022

This is a continuation of #38639, also adding E2E tests. It preserves the original commits by @eluchsinger

I noticed that we don't have any reasonable coverage for ValidationSummary, and yet it has a whole category of behavior for model-level validation errors. That is, errors associated with the model object itself rather than any individual property on it. So I've added a new scenario for that.

@msftbot
Copy link
Contributor

@msftbot msftbot bot commented Feb 4, 2022

Hello @SteveSandersonMS!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 60 minutes, a condition that will be fulfilled in about 53 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants