Oh, gotcha. I have HTTParty installed in most repos I work in, so I'd probably just use that, especially if I didn't want to introduce another dependency, though I would consider the libraries the other redditor mentioned. There isn't anything special about a GraphQL request, it's just a POST request with the correct headers and body.
Worked on this project with another dev. It's a lightweight http client agnostic graphql parser / builder / editor. I don't pay attention to graphql much anymore but the dev I worked with wrote it it to spec.
4
u/Shy524 Feb 02 '26
rails-graphql and ruby-graphql?
1
u/systemnate Feb 02 '26
What are you trying to do? On the FE, I use Apollo. If I'm just making adhoc queries, I use Postman or directly call a query using graphql-ruby.
2
u/brecrest Feb 04 '26
I just use Faraday using the Typheous adapter. Maybe I'm doing it wrong >.>
1
u/[deleted] Feb 03 '26
Worked on this project with another dev. It's a lightweight http client agnostic graphql parser / builder / editor. I don't pay attention to graphql much anymore but the dev I worked with wrote it it to spec.
https://gitlab.com/gitlab-org/ruby/gems/graphlyte