Skip to content

Commit 425902c

Browse files
authored
Merge pull request graphql#576 from Ndifreke/source
Corrrected typo "newRuntimeWiring() -> new RuntimeWiring()"
2 parents 603c0f4 + 6b2339f commit 425902c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/code/index.html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public class HelloWorld {
181181
SchemaParser schemaParser = new SchemaParser();
182182
TypeDefinitionRegistry typeDefinitionRegistry = schemaParser.parse(schema);
183183
184-
RuntimeWiring runtimeWiring = newRuntimeWiring()
184+
RuntimeWiring runtimeWiring = new RuntimeWiring()
185185
.type("Query", builder -> builder.dataFetcher("hello", new StaticDataFetcher("world")))
186186
.build();
187187

0 commit comments

Comments
 (0)