-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add a blueprint for using WPGraphQL and the WPGraphQL IDE (#74)
This adds a blueprint that creates a WordPress install with WPGraphQL active and takes the user to the WPGraphQL IDE page where they can explore the WPGraphQL Schema and execute GraphQL Queries.
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$schema": "https://playground.wordpress.net/blueprint-schema.json", | ||
"meta": { | ||
"title": "Use WPGraphQL to query WordPress", | ||
"description": "Example that loads WordPress with WPGraphQL active and defaults to the WPGraphQL IDE page to allow users to test GraphQL queries and explore the GraphQL Schema.", | ||
"author": "jasonbahl", | ||
"categories": ["API", "wpgraphql"] | ||
}, | ||
"landingPage": "/wp-admin/admin.php?page=graphiql-ide&query=I4VwpgTgngBA4mALgBQPYGdHpgbwFAwwAOGWuBhMAdqgCZjb6WUCWtFziLiANmB5VoBDRP2YBfCpPFA", | ||
"plugins": [ | ||
"wp-graphql" | ||
], | ||
"steps": [ | ||
{ | ||
"step": "login", | ||
"username": "admin" | ||
} | ||
] | ||
} |