Skip to content

Commit

Permalink
Docs: Update middleware attribute example to proper access modifier. (#…
Browse files Browse the repository at this point in the history
…6045)

Updates the example middleware attribute to use the proper access modifier as it is protected instead of public.
  • Loading branch information
bartdebever authored Apr 12, 2023
1 parent f49078e commit f0974c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public class UseMyMiddlewareAttribute : ObjectFieldDescriptorAttribute
Order = order;
}

public override void OnConfigure(IDescriptorContext context,
protected override void OnConfigure(IDescriptorContext context,
IObjectFieldDescriptor descriptor, MemberInfo member)
{
descriptor.UseMyMiddleware();
Expand Down

0 comments on commit f0974c4

Please sign in to comment.