Gatsby & WordPress - 5.1. - WPGraphQL isFrontPage
Hey! This post's a little over two years old now, so some of what's here might be out of date. Still worth a read, but if anything really matters to you, it's worth double-checking against a newer source too.
In this video, we explore the new isFrontPage field available in our GraphQL schema as of WPGraphQL version 0.4.1.
Thanks to Zac Gordon and Jason Bahl for implementing this feature on a live stream (with no audio) that they shared to document their process of implementing new fields.
Jason has made it clear he's exercising his quality assurance to make sure any fields available to the plugin are essential to reduce bloat, and isFrontPage definitely meets that criteria as a must-have for those using WordPress in their JAMStack setups.
WPGraphQL isFrontPage Livestream
https://twitter.com/wpgraphql/status/1196838567177158656
WPGraphQL has had many major releases since version 0.4.1 (2019) — the specifics below are a historical record of that release, not current behaviour.
WPGraphQL 0.4.1 Release Logs
Full release log can be found at - https://github.com/wp-graphql/wp-graphql/releases/tag/v0.4.1