Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Do you use Absinthe?


Pretty sure he wrote absinthe.


Hey! Yup I'm actually one of the co-authors of Absinthe. Got any questions?


That'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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: