@@ -161,7 +161,6 @@ namespace GraphQL.EntityFramework
161161 {
162162 protected override IExecutionStrategy SelectExecutionStrategy (ExecutionContext context )
163163 {
164- Guard .AgainstNull (nameof (context ), context );
165164 if (context .Operation .OperationType == OperationType .Query )
166165 {
167166 return new SerialExecutionStrategy ();
@@ -171,7 +170,7 @@ namespace GraphQL.EntityFramework
171170 }
172171}
173172```
174- <sup ><a href =' /src/GraphQL.EntityFramework/EfDocumentExecuter.cs#L1-L19 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-EfDocumentExecuter.cs ' title =' Start of snippet ' >anchor</a ></sup >
173+ <sup ><a href =' /src/GraphQL.EntityFramework/EfDocumentExecuter.cs#L1-L18 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-EfDocumentExecuter.cs ' title =' Start of snippet ' >anchor</a ></sup >
175174<!-- endSnippet -->
176175
177176
@@ -732,8 +731,6 @@ public static async Task<ExecutionResult> ExecuteWithErrorCheck(
732731 this IDocumentExecuter executer ,
733732 ExecutionOptions options )
734733{
735- Guard .AgainstNull (nameof (executer ), executer );
736- Guard .AgainstNull (nameof (options ), options );
737734 var executionResult = await executer .ExecuteAsync (options );
738735
739736 var errors = executionResult .Errors ;
@@ -750,7 +747,7 @@ public static async Task<ExecutionResult> ExecuteWithErrorCheck(
750747 return executionResult ;
751748}
752749```
753- <sup ><a href =' /src/GraphQL.EntityFramework/GraphQlExtensions.cs#L21-L45 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-executewitherrorcheck ' title =' Start of snippet ' >anchor</a ></sup >
750+ <sup ><a href =' /src/GraphQL.EntityFramework/GraphQlExtensions.cs#L21-L43 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-executewitherrorcheck ' title =' Start of snippet ' >anchor</a ></sup >
754751<!-- endSnippet -->
755752
756753
0 commit comments