graphql-request icon indicating copy to clipboard operation
graphql-request copied to clipboard

When will "support per-request headers" be published in npm?

Open nanopils opened this issue 6 years ago • 3 comments

Hi,

We need to set request headers dynamically in order to pass a correlation ID between federated back-ends.

I installed the latest npm version (3.3.0), but it seems this super useful new feature has not yet been published.

https://github.com/prisma-labs/graphql-request/commit/952e972717229af559f0ba3a369a1cb91ff840a2

Many thanks for your great work. :)

nanopils avatar Dec 01 '20 15:12 nanopils

Same here ... documentation doesn't match current version. :(

switch120 avatar Dec 03 '20 19:12 switch120

Version 3.4.0 with this feature has been released:

https://github.com/prisma-labs/graphql-request/releases/tag/v3.4.0

ba55ie avatar Jan 04 '21 09:01 ba55ie

And the documentation is updated: https://github.com/prisma-labs/graphql-request#passing-headers-in-each-request

peterp avatar Feb 09 '21 05:02 peterp