-
Notifications
You must be signed in to change notification settings - Fork 136
Adding initialization headers to a WebSocket GraphQL client #285
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
Conversation
| /// The payload of the websocket request | ||
| /// </summary> | ||
| public GraphQLRequest Payload | ||
| public object Payload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breaking change
| <Description>GraphQL basic types</Description> | ||
| <RootNamespace>GraphQL</RootNamespace> | ||
| <TargetFrameworks>netstandard2.0</TargetFrameworks> | ||
| <Version>1.0.0</Version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
| <PropertyGroup> | ||
| <TargetFrameworks>netstandard2.0;net461</TargetFrameworks> | ||
| <RootNamespace>GraphQL.Client.Http</RootNamespace> | ||
| <Authors>Deinok,Alexander Rose,graphql-dotnet</Authors> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sungam3r
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These edits don't seem right to me.
|
@codewalkerdan Thanks for your contribution. I'm closing this in favor of #294, which basically does the same thing albeit keeping types and names close to the Apollo GraphQL over WebSocket Protocol Spec, which this library aims to fully implement. |
|
Sorry for not replying. I have little time, but thank you for the feedback. |
Not just authorization, but other headers could be added that may be required when initializing a web socket connection.
It supports adding authorization tokens