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
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