gatsby-source-wordpress: Filter for WPGraphQL for Advanced Custom Fields - Post Object Field - missing #33602
Replies: 3 comments
-
Hi @hasslarp , this isn't actually a bug but is a feature request. The WPGraphQL and Gatsby schemas are 2 separate schemas and filtering just hasn't been implemented in the Gatsby schema programatically yet. |
Beta Was this translation helpful? Give feedback.
-
@TylerBarnes Oki. I figured that it was supposed to work analogous to the WpParent field. Also since I could filter on other ACL field types, that post object fields should be filterable as well. But if it's not a bug, it's a feature request. :) |
Beta Was this translation helpful? Give feedback.
-
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Preliminary Checks
Description
When adding a post object link in ACF the field can be queried just fine, but it can't be filtered on.
Using the following plugins in wordpress:
Advanced Custom Fields
WP Gatsby
WP GraphQL
WPGraphQL for Advanced Custom Fields
Se reproduction link for a stack overflow question on the subject.
Reproduction Link
https://stackoverflow.com/questions/68962977/filtering-on-an-acf-post-object-field-in-wordpress-in-gatsby-and-graphql
Steps to Reproduce
Expected Result
Just as you are able to filter on, for example, the WpParent field, you should be able to filter on the linked page.
Actual Result
The post object field isn't even present in the list of available filters.
Environment
Config Flags
No response
Beta Was this translation helpful? Give feedback.
All reactions