hasura / go-graphql-client

Package graphql provides a GraphQL client implementation.
MIT License
395 stars 91 forks source link

Support custom protocol? #134

Open lizheng-xieyadong opened 6 months ago

lizheng-xieyadong commented 6 months ago

Now "go-graphql-client " only support "GraphQLWS " and "SubscriptionsTransportWS". Are there plans to support custom protocols.

hgiasac commented 6 months ago

It depends. You can create a request issue if you know any popular subscription protocol. We will analyze and decide if it's worth to support. Or we can expose the interface so everyone can fork or run subscription with a custom implementation

lizheng-xieyadong commented 6 months ago

Exposing the interface is a good idea.