File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 99 </PropertyGroup >
1010
1111 <ItemGroup >
12+ <PackageReference Include =" GraphQL.SystemReactive" Version =" 4.6.1" />
1213 <PackageReference Include =" Serilog.AspNetCore" Version =" 4.0.0" />
1314 <PackageReference Include =" Serilog.Sinks.Console" Version =" 4.0.1" />
1415 <PackageReference Include =" GraphQL.MicrosoftDI" Version =" 4.6.1" />
Original file line number Diff line number Diff line change 77using GraphQL . Server . Ui . GraphiQL ;
88using GraphQL . Server . Ui . Playground ;
99using GraphQL . Server . Ui . Voyager ;
10+ using GraphQL . SystemReactive ;
1011using Microsoft . AspNetCore . Builder ;
1112using Microsoft . AspNetCore . Hosting ;
1213using Microsoft . Extensions . Configuration ;
@@ -34,6 +35,7 @@ public void ConfigureServices(IServiceCollection services)
3435 services . AddSingleton < IChat , Chat > ( ) ;
3536
3637 MicrosoftDI . GraphQLBuilderExtensions . AddGraphQL ( services )
38+ . AddSubscriptionDocumentExecuter ( )
3739 . AddServer ( true )
3840 . AddSchema < ChatSchema > ( )
3941 . ConfigureExecution ( options =>
Original file line number Diff line number Diff line change 77using GraphQL . Server . Ui . GraphiQL ;
88using GraphQL . Server . Ui . Playground ;
99using GraphQL . Server . Ui . Voyager ;
10+ using GraphQL . SystemReactive ;
1011using Microsoft . AspNetCore . Builder ;
1112using Microsoft . AspNetCore . Hosting ;
1213using Microsoft . Extensions . Configuration ;
@@ -35,6 +36,7 @@ public void ConfigureServices(IServiceCollection services)
3536 services . AddSingleton < IChat , Chat > ( ) ;
3637
3738 MicrosoftDI . GraphQLBuilderExtensions . AddGraphQL ( services )
39+ . AddSubscriptionDocumentExecuter ( )
3840 . AddServer ( true )
3941 . AddSchema < ChatSchema > ( )
4042 . ConfigureExecution ( options =>
You can’t perform that action at this time.
0 commit comments