Replies: 3 comments
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Both the following generate clients and make use of parts of gqlgen: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I.e., making a request to a GraphQL server from Go. Is this possible, or something that might be on the roadmap at some point? Does anyone do this?
As far as I can tell, beyond maybe a little bit of wrapping around an http call and json deserializer, one should be able to re-use the gqlgen generated models to fill in with the JSON response from a GraphQL client?
One pitfall might be that, unlike some other graphql client libraries, you wouldn't be able to catch the error of failing to request a field that you then attempt to access on the returned object.
Beta Was this translation helpful? Give feedback.
All reactions