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

v0.9.0

Compare
Choose a tag to compare
@hgiasac hgiasac released this 13 Feb 07:54
· 47 commits to master since this release
10471cf

Highlight

Support graphql-ws protocol

The subscription client now supports 2 protocols:

The protocol can be switchable by the WithProtocol function. By default, the subscription client uses the subscriptions-transport-ws protocol.

client := graphql.NewSubscriptionClient("wss://example.com/graphql").
    WithProtocol(graphql.GraphQLWS)

Changelog

  • exposed the UnmarshalGraphQL function in the jsonutil package (#62) @nico151999
  • fix the dynamic GraphQL type output from the GraphQLType interface instance (#56) @hgiasac
  • support graphql-ws protocol (#67) @hgiasac
  • allow using custom HTTP client that implements Doer interface (#68) @senekis
  • patch gin v1.7.7 to fix the security issue (#75) @hgiasac