WPGraphQL Dad Jokes

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
}

On this page