pristas-peter / wp-graphql-gutenberg

Query gutenberg blocks with wp-graphql
https://wp-graphql-gutenberg.netlify.app
GNU General Public License v3.0
299 stars 62 forks source link

fix: WPGraphQL v1.13+ compatibility #165

Closed jasonbahl closed 1 year ago

jasonbahl commented 1 year ago

WPGraphQL v1.13.0 introduced Connection and Edge Interfaces which enforce connections to connect to a Type that is a Node.

This updates the BlockEditorContentNode to implement the Node interface to play nicely with WPGraphQL v1.13+

NOTE: This PR also updates the code sniffer rules and fixes issues brought up by code sniffs

closes #164

pristas-peter commented 1 year ago

🥇