there are unknown plugin options for "gatsby-source-wordpress": type.MediaItem.excludeFieldNames #30399
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
Warning: there are unknown plugin options for "gatsby-source-wordpress": type.MediaItem.excludeFieldNames Please open an issue at ghub.io/gatsby-source-wordpress if you believe this option is valid.
Describe the issue that you're seeing.
I'm trying to make the MediaItem query as small as possible using
type: { MediaItem: { excludeFieldNames: [] } }
.On a local
gatsby build
this works like it should, but Gatsby Cloud returned this message.Steps to reproduce
add the following to your type object in gatsby-config and run a remote build.
How to Make a Minimal Reproduction: https://www.gatsbyjs.com/contributing/how-to-make-a-reproducible-test-case/
Expected result
No warning in the console and a reduced query. tbh, I'm not sure how to check if the generated query is not reduced or not.
The text was updated successfully, but these errors were encountered: