Skip to content

Commit 5db0bfa

Browse files
authored
.AspNetCore: adjusting README to current code usage (#478)
* .AspNetCore: adjusting README to current code usage Co-authored by @xperiandri
1 parent ac6eae9 commit 5db0bfa

File tree

1 file changed

+1
-5
lines changed
  • src/FSharp.Data.GraphQL.Server.AspNetCore

1 file changed

+1
-5
lines changed

src/FSharp.Data.GraphQL.Server.AspNetCore/README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@ type Startup private () =
4444
.UseGiraffeErrorHandler(errorHandler)
4545
.UseWebSockets()
4646
.UseWebSocketsForGraphQL<Root>() // STEP 2: using the GraphQL websocket middleware
47-
.UseGiraffe
48-
(HttpHandlers.handleGraphQL<Root>
49-
applicationLifetime.ApplicationStopping
50-
(loggerFactory.CreateLogger("FSharp.Data.GraphQL.Server.AspNetCore.HttpHandlers.handleGraphQL"))
51-
)
47+
.UseGiraffe (HttpHandlers.handleGraphQL<Root>)
5248
5349
member val Configuration : IConfiguration = null with get, set
5450

0 commit comments

Comments
 (0)