Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 499 Bytes
title description
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
}
You can’t perform that action at this time.