Query Batching error [Wordpress graphql]
See original GitHub issueHello i try to use query batching with worpdress graphql but i got a error CombinedError
When i don’t use the batcher()
i see 2 call with no error
When i activate it
useClient({
url: '/cms/graphql',
fetch: batcher()
})
I see the call, the response seem to be good, an array of 2 objects
But i get an error on each component response.
Do you have an idea of who we can fix that ? A villius issue or wp-graphql issue ?
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
GraphQL Batching Attack - Wallarm
The technique of batching the requests is described in the GraphQL spec published in June 2018 in section 6.3.1 and it describes this ......
Read more >Executing multiple queries concurrently
The multiple queries are executed in the same requested order. ✳️ Note: This is different from query batching, in which the GraphQL server...
Read more >WPGraphQL < 1.3.6 - Denial of Service - WPScan
This attack uses duplication of fields amplified by GraphQL batched queries, resulting in server OOM and MySQL connection errors.
Read more >Executing multiple queries in a single operation in GraphQL
This is not query batching. When doing query batching, the GraphQL server executes multiple queries in a single request.
Read more >WPGraphQL vs. WP REST API
... using GraphiQL to query the Github GraphQL API for Repositories and using the same tool in the WordPress admin for querying Posts...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
0.4.2
and1.0.0-alpha.6
were released with this fix.yeah !