Skip to content

Ability to add request headers to GQL request on file uploadΒ #61

@dominik-myszkowski

Description

@dominik-myszkowski

πŸš€ Feature Request

Description

  • Whenever a file upload via apollo-federation-file-upload occurs, there are set request headers and one can not add anything to that header (request from Gateway to subgraph). willSendRequest method will execute but all the headers added in that method (in case of file upload) will be ignored. There are many issues arising from that problem, for example I can not pass authentication token from Gateway to subgraph for authenticating user.

Implementation details

  • There should be an option (object props) to pass file upload headers OR file upload request should add headers added in willSendRequest

Potential caveats

  • none

Acceptance criteria

Additional context and visual reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions