Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private RuntimeWiring buildWiring() {
- return RuntimeWiring.newRuntimeWiring()
- .type(newTypeWiring("Query")
- .dataFetcher("animals", animalsFetcher)
- )
- .type(newTypeWiring("Animal")
- .dataFetcher("countries", animalCountriesFetcher)
- )
- .build();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement