Closed pyrou closed 3 years ago
Looks good, thanks for your contribution and the links to the relevant sources. As the master
branch is a work in progress for supporting Lighthouse v5, could you rebase your patch-1
branch onto 1.x
?
rebased. But I also need it in master, but I guess you'll also merge 1.x in it after :)
Done and done, thanks again!
According to Apollo documentation, and official implementation of Apollo clients (iOS, web, Android), client information are sent to GraphQL server using
apollographql-client-name
andapollographql-client-version
headers.This PR propose to accept these headers as fallback of
x-apollo-client-name
andx-apollo-client-version
headers. to avoid need of writing customClientInformationExtractor
.Further reading :
Backward compatibility: