Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQLClientOption 类型有误 #650

Open
2eha0 opened this issue Jun 18, 2019 · 1 comment
Open

GraphQLClientOption 类型有误 #650

2eha0 opened this issue Jun 18, 2019 · 1 comment
Labels

Comments

@2eha0
Copy link
Collaborator

2eha0 commented Jun 18, 2019

我发现在 21 上 sdk.graph 没有带上 x-port header
几经波折后发现需要在 setGraphQLEndpoint 的第二个参数上加上 { merge: true } 才行
于是又发现类型报错了

根据GraphQLClientOption 的用法上来看,应该是等价于 SDKFetchOptions[headers]

@2eha0 2eha0 added the bug label Jun 18, 2019
@chuan6
Copy link
Contributor

chuan6 commented Jun 24, 2019

@2eha0 谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants