ServiceStack.FluentValidation.SetCollectionValidator

Hi @mythz.

After upgrading to 5.10.0, I have one project that will not compile with the following error.

UpdateSubscriptionHistory.cs(28, 18): [CS1061] 'IRuleBuilderInitial<UpdateSubscriptionHistory, List<WebhookDeliveryResult>>' does not contain a definition for 'SetCollectionValidator' and no accessible extension method 'SetCollectionValidator' accepting a first argument of type 'IRuleBuilderInitial<UpdateSubscriptionHistory, List<WebhookDeliveryResult>>' could be found (are you missing a using directive or an assembly reference?)

Any ideas?

Ahh! I found the solution.

1 Like