ashkan18 / graphlient

Ruby GraphQL Client
MIT License
251 stars 44 forks source link

Allow swapping the HTTP stack. #29

Closed dblock closed 7 years ago

dblock commented 7 years ago

Closes https://github.com/ashkan18/graphlient/issues/7.

This allows you to swap the HTTP adapter at runtime and implements one for Net::HTTP.

However this doesn't remove Faraday as a required dependency. I opened #30, I think I want to leave that unimplemented but open in case someone feels strongly about it.