diff --git a/docs/usage/resource-graph.md b/docs/usage/resource-graph.md index 5e3195ca0b..18a13da907 100644 --- a/docs/usage/resource-graph.md +++ b/docs/usage/resource-graph.md @@ -28,7 +28,7 @@ You can enable auto-discovery for the current assembly by adding the following a ```c# // Program.cs -builder.Services.AddJsonApi(discovery => discovery.AddCurrentAssembly()); +builder.Services.AddJsonApi(discovery: discovery => discovery.AddCurrentAssembly()); ``` ### Specifying an Entity Framework Core DbContext @@ -44,7 +44,7 @@ Be aware that this does not register resource definitions, resource services and ```c# // Program.cs -builder.Services.AddJsonApi(discovery => discovery.AddCurrentAssembly()); +builder.Services.AddJsonApi(discovery: discovery => discovery.AddCurrentAssembly()); ``` ### Manual Specification