You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Query Analyzer executes, it should be tracking anytime a Type that implements the "Node" interface is queried as part of a list.
Currently, if a field returns a list of an Interface that does not implement the Node interface, the list of that interface is tracked by the analyzer, but it shouldn't be.
Steps to reproduce
Using the snippet below we can register an Interface, an object type that implements that interface, and a field that returns a list_of that interface.
See that list:testtype is output in the query analyzer keys, even though it's not a node.
I would expect this type to NOT be output in the keys as it's not a node. CRUD actions that evict caches should be associated with the nodes being modified.
Additional context
No response
WPGraphQL Version
1.13.7
WordPress Version
6.1.1
PHP Version
7.4
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have disabled ALL plugins except for WPGraphQL.
Yes
My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.
The text was updated successfully, but these errors were encountered:
Description
When the Query Analyzer executes, it should be tracking anytime a Type that implements the "Node" interface is queried as part of a list.
Currently, if a field returns a list of an Interface that does not implement the Node interface, the list of that interface is tracked by the analyzer, but it shouldn't be.
Steps to reproduce
list:testtype
is output in the query analyzer keys, even though it's not a node.I would expect this type to NOT be output in the keys as it's not a node. CRUD actions that evict caches should be associated with the nodes being modified.
Additional context
No response
WPGraphQL Version
1.13.7
WordPress Version
6.1.1
PHP Version
7.4
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL.
The text was updated successfully, but these errors were encountered: