Polymorphic model collection validation is skipped
Open
area-mvc
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
It looks like default validation does not work on polymorph types.
### Expected Behavior
It validates and returns 400 BadRequest
### Steps To Reproduce
https://github.com/pnkwl/webapivalidationissue
Pls look at WebApi.http
### Exceptions (if any)
_No response_
### .NET Version
8.0.401
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.