Skip to content

GraphQLHttpClient sends request twice when APQ is enabled #671

@cookj4

Description

@cookj4

I am trying to set up my queries to use APQ, but the request is always being sent twice. I see why that is happening in the code here, but I must be missing something. The way I am reading this, every code path that uses APQ assumes the request failed and resends it. It seems like the else here is not needed (or alternatively should be an else if), as there is no indication that the request did not succeed. Any help understanding this would be much appreciated.

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