Skip to content

Commit 9f9f08e

Browse files
committed
Added missing HttpContextAccessor
1 parent 7055c27 commit 9f9f08e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FSharp.Data.GraphQL.Server.AspNetCore/StartupExtensions.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ module ServiceCollectionExtensions =
8383
sp.GetRequiredService<IOptionsMonitor<GraphQLOptions<'Root>>>().Get(name)
8484
}
8585
)
86+
.AddHttpContextAccessor()
8687
.AddScoped<GraphQLRequest<'Root>>()
8788

8889
/// <summary>

0 commit comments

Comments
 (0)