Skip to content

Support query batching for Apollo GraphQL #163

@rpander93

Description

@rpander93
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Version/Branch all

Hi,

We're currently developing an app using this bundle in our Symfony code to create a GraphQL endpoint. In the front-end, we use Apollo (apollodata.com) to send queries. We tried to make batching work, but no luck so far. The docs of Apollo describe their method of here. I compared this to the docs of the linked ReactRelayNetworkLayer to compare the methods of handling batched requests. It seems ReactRelayNetworkLayer uses "id" to identify between queries while Apollo uses "operationName". So I tried changing the controller
but this didn't fix the issue unfortunately.

Any developers faced a similar issue that were able to fix it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions