@@ -24,7 +24,7 @@ public async Task ExplicitModel()
2424 services . AddSingleton < DependencySchema > ( ) ;
2525 EfGraphQLConventions . RegisterInContainer (
2626 services ,
27- userContext => ( ( UserContextSingleDb < DependencyDbContext > ) userContext ) . DbContext ,
27+ ( userContext , _ ) => ( ( UserContextSingleDb < DependencyDbContext > ) userContext ) . DbContext ,
2828 sqlInstance . Model ) ;
2929 await using var provider = services . BuildServiceProvider ( ) ;
3030 using var schema = provider . GetRequiredService < DependencySchema > ( ) ;
@@ -50,7 +50,7 @@ public async Task ScopedDbContext()
5050
5151 EfGraphQLConventions . RegisterInContainer (
5252 services ,
53- userContext => ( ( UserContextSingleDb < DependencyDbContext > ) userContext ) . DbContext ) ;
53+ ( userContext , _ ) => ( ( UserContextSingleDb < DependencyDbContext > ) userContext ) . DbContext ) ;
5454 await using var provider = services . BuildServiceProvider ( ) ;
5555 using var schema = new DependencySchema ( provider ) ;
5656 var executionOptions = new ExecutionOptions
@@ -75,7 +75,7 @@ public async Task TransientDbContext()
7575
7676 EfGraphQLConventions . RegisterInContainer (
7777 services ,
78- userContext => ( ( UserContextSingleDb < DependencyDbContext > ) userContext ) . DbContext ) ;
78+ ( userContext , _ ) => ( ( UserContextSingleDb < DependencyDbContext > ) userContext ) . DbContext ) ;
7979 await using var provider = services . BuildServiceProvider ( ) ;
8080 using var schema = new DependencySchema ( provider ) ;
8181 var options = new ExecutionOptions
@@ -100,7 +100,7 @@ public async Task SingletonDbContext()
100100
101101 EfGraphQLConventions . RegisterInContainer (
102102 services ,
103- userContext => ( ( UserContextSingleDb < DependencyDbContext > ) userContext ) . DbContext ) ;
103+ ( userContext , _ ) => ( ( UserContextSingleDb < DependencyDbContext > ) userContext ) . DbContext ) ;
104104 await using var provider = services . BuildServiceProvider ( ) ;
105105 using var schema = new DependencySchema ( provider ) ;
106106 var options = new ExecutionOptions
0 commit comments