WPGraphQL Dad Jokes

This is an example plugin showing how to extend the WPGraphQL Schema. This resolves data from icanhazdadjoke.com


About

This is an example plugin that is intended to showcase how to extend the WPGraphQL Schema.

This plugin adds a new RootQuery field to the WPGraphQL Schema that allows for random a random Dad Joke to be queried from icanhazdadjoke.com.

Example Usage

query GetDadJoke {
	dadJoke
}
Edit on GitHub