machinebox / graphql

Simple low-level GraphQL HTTP client for Go
https://blog.machinebox.io/a-graphql-client-library-for-go-5bffd0455878
Apache License 2.0
933 stars 217 forks source link

Publish new version? #46

Open cheshire137 opened 4 years ago

cheshire137 commented 4 years ago

Hi there! I notice when I go get github.com/machinebox/graphql, the version I have is missing the response status code checks that landed in https://github.com/machinebox/graphql/pull/19. Does something need to be published or a version updated for me to get the latest code? Thank you!

michaeldwan commented 4 years ago

@cheshire137 I also just ran into this and found out you can specify a sha like this:

go get github.com/machinebox/graphql@3a92531802258604bd12793465c2e28bc4b2fc85
necrophonic commented 4 years ago

Thanks for the tip @michaeldwan 👍 A proper new release would definitely be welcome, especially given that there are things mentioned in the docs (req.Query etc) that are in leading edge master but not in any published release which is a little frustrating.

Given that the last commit was around a year ago and there's 11 PRs outstanding, is this package still being maintained?

jaylane commented 4 years ago

@necrophonic it doesn't look like it is, even extensions haven't been added to to the error structs, leaving the returned error from run pretty useless. Anyone know of a maintained alternative?

adrianog commented 4 years ago

https://github.com/shurcooL/graphql seems more maintained.

Moreover, there's no client supporting subscriptions as far as I can see.

jaylane commented 4 years ago

i just forked it and merged some of the open PRs into my fork using that for now.

adrianog commented 4 years ago

Great, let us know how it goes.

Yours might become the "official" golang graphql client library.

necrophonic commented 4 years ago

@jaylane Sounds like a good plan!

jaylane commented 4 years ago

@necrophonic @adrianog its working well forked it and cherrypicked some of the open PRs highly recommend doing it.

adrianog commented 4 years ago

Thanks @jaylane - we can we use https://github.com/jaylane/graphql ? Have you pushed all your changes already?

jaylane commented 4 years ago

@adrianog the updated version is on our private gitlab repo, i’ll make it public in the next few days and let you know when you can grab it

carldunham commented 4 years ago

Any update on this? The state of GraphQL clients for Go is pathetic!