Skip to content

Commit ca04087

Browse files
lanyonmandimarek
authored andcommitted
correct execution example
1 parent 06a202c commit ca04087

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/execution.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ to use when mutating data.
129129
new LinkedBlockingQueue<Runnable>(),
130130
new ThreadPoolExecutor.CallerRunsPolicy());
131131
132-
GraphQL graphQL = GraphQL.newObject(StarWarsSchema.starWarsSchema)
132+
GraphQL graphQL = GraphQL.newGraphQL(StarWarsSchema.starWarsSchema)
133133
.queryExecutionStrategy(new ExecutorServiceExecutionStrategy(threadPoolExecutor))
134134
.mutationExecutionStrategy(new SimpleExecutionStrategy())
135135
.build();

0 commit comments

Comments
 (0)