hasura / go-graphql-client

Package graphql provides a GraphQL client implementation.
MIT License
405 stars 94 forks source link

Enable custom createConn function #9

Closed foreverest closed 3 years ago

foreverest commented 3 years ago

Currently, I can specify a custom createConn function for the SubscriptionClient but it's never called and always falls back to the default one. This change fixes the issue.

hgiasac commented 3 years ago

Thank you for contributing. Unfortunately it is duplicated with another merged PR https://github.com/hasura/go-graphql-client/commit/408d1f23326fe1fb2ab649fbb2531d4c390bf64a

foreverest commented 3 years ago

@hgiasac can you describe how it is duplicated, please? The PR you linked only changes the error message, as far as I can see.