Skip to content

Implicit Validation of Collection-Type Models #56

Description

@benmccallum

Got a report from Oisín Grehan and Nacer Dergal in Slack of a scenario where they weren't seeing the validator run.

Turns out they had an array arg where the inner type had the validator. e.g. [SomeInput]

Essentially this is "Implicit Validation of Collection-Type Models" as discussed in FluentValidation's docs here.

By default they don't handle it, but you can opt-in to handle it.

Context:
Slack thread

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions