Skip to content

Commit

Permalink
fix incorrect interface in example
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdgun committed Dec 17, 2023
1 parent 045d133 commit b955c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private class TestValidator : AbstractValidator<TestModel>, IValidatorIntercepto
// Example of a global validation interceptor.
builder.Services.AddTransient<IGlobalValidationInterceptor, CustomGlobalValidationInterceptor>();
public class CustomGlobalValidationInterceptor : IValidationInterceptor
public class CustomGlobalValidationInterceptor : IGlobalValidationInterceptor
{
public IValidationContext? BeforeValidation(EndpointFilterInvocationContext endpointFilterInvocationContext, IValidationContext validationContext)
{
Expand Down

0 comments on commit b955c41

Please sign in to comment.