Skip to content

Commit d409bc1

Browse files
committed
Update ArgumentValidation.cs
1 parent fccd776 commit d409bc1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/GraphQL.FluentValidation/ArgumentValidation.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ public static void Validate<TArgument>(IValidatorCache cache, Type type, TArgume
5656
return;
5757
}
5858

59+
ValidateCore(cache, type, instance, userContext, provider);
60+
}
61+
62+
static void ValidateCore<TArgument>(IValidatorCache cache, Type type, TArgument instance, IDictionary<string, object?> userContext, IServiceProvider? provider)
63+
{
5964
var currentType = (Type?)type;
6065
var validationContext = default(ValidationContext<TArgument>);
6166

0 commit comments

Comments
 (0)