这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ecthiender
Copy link
Contributor

@ecthiender ecthiender commented May 4, 2019

Description

In some cases, x-hasura-* headers and configured headers were sent with multiple values to remote schema.

Following is the order of precedence of headers now:

conf headers > resolved userinfo vars > client headers

Affected components

  • Server

Related Issues

Solution and Design

Remove duplicates by merging them in a map. The order of precedence is:
conf headers > resolved userinfo vars > client headers

Steps to test and verify

Limitations, known bugs & workarounds

  following is the order of precedence of headers now:
  conf headers > resolved userinfo vars > client headers
@ecthiender ecthiender requested a review from 0x777 as a code owner May 4, 2019 10:35
@ecthiender ecthiender added c/server Related to server s/ok-to-merge Status: This pull request can be merged to master labels May 4, 2019
@netlify
Copy link

netlify bot commented May 4, 2019

Deploy preview for hasura-docs ready!

Built with commit 25a118e

https://deploy-preview-2118--hasura-docs.netlify.com

@hasura-bot
Copy link
Contributor

Review app for commit 51fc1bf deployed to Heroku: https://hge-ci-pull-2118.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2118-51fc1bfb

@hasura-bot
Copy link
Contributor

Review app for commit de84ff0 deployed to Heroku: https://hge-ci-pull-2118.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2118-de84ff02

@ecthiender ecthiender requested a review from rikinsk-zz as a code owner May 6, 2019 08:10
@hasura-bot
Copy link
Contributor

Review app for commit c9c73fe deployed to Heroku: https://hge-ci-pull-2118.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2118-c9c73fee

0x777
0x777 previously approved these changes May 6, 2019
0x777
0x777 previously approved these changes May 6, 2019
Copy link

@rikinsk-zz rikinsk-zz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs LGTM

@hasura-bot
Copy link
Contributor

Review app for commit 25a118e deployed to Heroku: https://hge-ci-pull-2118.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2118-25a118ed

@0x777 0x777 merged commit dfaf7d3 into hasura:master May 6, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-2118.herokuapp.com is deleted

hasura-bot pushed a commit that referenced this pull request Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/server Related to server s/ok-to-merge Status: This pull request can be merged to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants