Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 394 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 394 Bytes

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