Skip to content

Incorrect response format for batched queries #122

Closed
@HorizonXP

Description

@HorizonXP

I've been working with graphene-django for the last 3 weeks, and have been implementing it with apollo-client on the frontend. I just switched on batched queries, and determined that graphene-django is trying to return a list of responses in the following format:

response = [ { id, payload, status }, ... ]

I can't seem to find any documentation that indicates that this should be the format for batched responses. As it is, this breaks apollo-client. I propose just returning a list of responses to adhere to the expected format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions