WPGraphQL v1.13.0 introduced Connection and Edge Interfaces to the Schema that are applied to all connections that are registered via register_graphql_connection().
These interfaces enforce the rule that the type a connection goes to must be a Node type.
This plugin has connections to types that are not nodes, and thus we end up with Schema errors like so:
PROPOSED SOLUTION
Any connections in this plugin need to go to a type that is a Node. So any Types that are the toType should implement the Node interface OR we can filter out the Connection/Edge interfaces for connections that want to ignore them.
WPGraphQL v1.13.0 introduced
Connection
andEdge
Interfaces to the Schema that are applied to all connections that are registered viaregister_graphql_connection()
.These interfaces enforce the rule that the type a connection goes to must be a
Node
type.This plugin has connections to types that are not nodes, and thus we end up with Schema errors like so:
PROPOSED SOLUTION
Any connections in this plugin need to go to a type that is a Node. So any Types that are the
toType
should implement theNode
interface OR we can filter out the Connection/Edge interfaces for connections that want to ignore them.