gatsby-source-wordpress error when querying comment author #29998
Labels
topic: source-wordpress
Related to Gatsby's integration with WordPress
type: bug
An issue or pull request relating to a bug in Gatsby
Description
When querying comments from allWpComment an error is returned if the comment author is also queried.
Steps to reproduce
Gatsby plugin versions:
Wordpress plugin versions:
Steps
From local Gatsby GraphiQL query:
You should receive an error response message of "Abstract type "WpCommenter" was resolve to a type "CommentAuthor" that does not exist inside schema."
Expected result
WpComment query should return comment author
Actual result
WpComment query returns error message "Abstract type "WpCommenter" was resolve to a type "CommentAuthor" that does not exist inside schema."
Environment
System:
OS: Linux 5.8 Pop!_OS 20.10
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 14.7.0 - ~/.nvm/versions/node/v14.7.0/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 6.14.7 - ~/.nvm/versions/node/v14.7.0/bin/npm
Languages:
Python: 2.7.18 - /usr/bin/python
Browsers:
Chrome: 87.0.4280.88
Firefox: 86.0
npmPackages:
gatsby: ^3.0.0 => 3.0.0
gatsby-plugin-image: ^1.0.0 => 1.0.0
gatsby-plugin-manifest: ^3.0.0 => 3.0.0
gatsby-plugin-sharp: ^3.0.0 => 3.0.0
gatsby-plugin-sitemap: ^3.0.0 => 3.0.0
gatsby-source-filesystem: ^3.0.0 => 3.0.0
gatsby-source-wordpress: ^5.0.0 => 5.0.0
gatsby-transformer-sharp: ^3.0.0 => 3.0.0
npmGlobalPackages:
gatsby-cli: 2.19.2
The text was updated successfully, but these errors were encountered: