Cms: [Question / Feature Request] Does Craft Graphql support Query Batching ?

Created on 19 Feb 2020  路  2Comments  路  Source: craftcms/cms

Does Craft Graphql support Query Batching ?

I try with my client and this is craft response

{
    "name":"Bad Request",
    "message":"No GraphQL query was supplied",
    "code":0,
    "status":400,
    "type":"yii\\web\\BadRequestHttpException"
}
enhancement graphql

Most helpful comment

Not currently, no.

However, the underlying library we're using supports them, so I'll keep this open to re-visit for 3.5.

All 2 comments

Not currently, no.

However, the underlying library we're using supports them, so I'll keep this open to re-visit for 3.5.

Timing on this ended up being pretty good, as I also encountered https://github.com/logaretm/villus/issues/26 :)

This has been added for Craft 3.5.

Was this page helpful?
0 / 5 - 0 ratings