/wp-graphql-dad-jokes

Get a random Dad Joke returned via GraphQL query using the WPGraphQL WordPress plugin (https://github.com/wp-graphql/wp-graphql)

Primary LanguageShell

WPGraphQL Dad Jokes

This is an extension to the WPGraphQL plugin (https://github.com/wp-graphql/wp-graphql) that adds a dadJoke root query that returns a random dad joke from icanhazdadjoke.com

To query for a dad joke:

{
  dadJoke
}

GraphiQL dadJoke query