29 ms·
A bit tangential but one of the things I've enjoyed about using GraphQL lately is how easily it can be used over websockets. All the API work you do to support
by benwilson-512 9y ago
A bit tangential but one of the things I've enjoyed about using GraphQL lately is how easily it can be used over websockets. All the API work you do to support HTTP can be immediately used over websockets because the it never required a specific transport to begin with.
Phoenix channels make it super easy to setup and use websockets, but you're sort of on your own as far as figuring out how to work REST conventions into it since all the tooling that exists for REST generally assumes and requires HTTP.
It's great to be able to write the code for the API once and support it across a broad variety of transports.
- brazzledazzle 9y agoDo you use Absinthe?
- spyc3r 9y agoPretty sure he wrote absinthe.
- benwilson-512 9y agoHey! Yup I'm actually one of the co-authors of Absinthe. Got any questions?
- brazzledazzle 9y agoThat's HN for you. I should have realized after I looked over issue 156 this morning. No questions, I was just curious about experiences with it and wanted to see if that's what you were referring to. Thanks for releasing it, I can't wait to try it out.