Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

IFormFile model binder suppressing validation for any non-null result. #4329

Closed
@WillRay

Description

@WillRay

The FormFileModelBinder suppresses any further validation if a value is found. This can result in some confusion (example) because any validation attributes attached to a property that is an IFormFile or collection of IFormFiles will not be invoked if any files actually exist.

Is this suppression necessary?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions