Skip to content

Validators are not generated when [FromForm] is used #170

@hogwashbazooka

Description

@hogwashbazooka

If the [FromForm] attribute is applied to a binding property of a controller action, the validation rules will not be generated. Is this a known issue?

public async Task<ActionResult<ResponseDto>> Update([FromForm] MyDto dto)
{
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions