Query Dad Jokes with WPGraphQL
By Jason Bahl
July 13th, 2017
If you’ve ever wanted to use GraphQL to query dad jokes, look no further.
The plugin uses icanhazdadjoke.com to retrieve a random dad joke.
This also serves as a great example on how to extend WPGraphQL to customize the Schema for your needs.
The beauty of GraphQL is the data that resolves can come from anywhere. Even though it’s a WordPress plugin, the data that’s queried and resolved, doesn’t have to live in WordPress!