gatsby-source-wordpress: Compilation process freezes when WPGraphQL for ACF activated #39057
Open
2 tasks done
Labels
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
When i activate the WPGraphQL for ACF plugin i am not able to compile the project.
when i try to compile, it freezes at this step
When i check logs, the wordpress gets requests and responds with 200, in the terminal it seems stuck, but when i look at the processes its in loop and still sends requests, but without the error.
Once i had a problem with czech characters, ščěšžřášíé etc. in label name. Now i removed all of them but the problem is still ongoing.
But when i disable the plugin, everything works fine. (also the api works fine inside the graphiql wordpress ide)
EDIT: the problem is in this file https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/src/steps/ingest-remote-schema/build-queries-from-introspection/recursively-transform-fields.js where it creates an infinite loop
WPGraphQL Version
1.27.2
WPGraphQL For ACF Version
2.3.0
ACF (Advanced Custom Fields) Version. Free or Pro?
6.3.3 pro
WordPress Version
6.5.5
Reproduction Link
https://codesandbox.io/p/devbox/lingering-tree-n7jfkl
Steps to Reproduce
gatsby develop
Expected Result
Project is compiled successfully
Actual Result
Stuck on
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: