12 ms·
I've heard some rumblings about adding GraphQL as a feature to Elixir / Phoenix. Anyone know more about this?
by andyl 11y ago
I've heard some rumblings about adding GraphQL as a feature to Elixir / Phoenix. Anyone know more about this?
- josevalim 11y agoI am member of the Phoenix team. We are not adding GraphQL to Phoenix. What Chris McCord said in his keynote is that some of the ideas behind GraphQL/Falcor, like co-locating your query with your view, is also useful on the server side because it makes the code more maintainable (for example, you no longer need to write a big query in the controller with knowledge of all the view pieces). It also makes views easier to cache, easier to detect when the cache is expired, easier to compose and so on. How that will affect Phoenix is yet to be seen but developers shouldn't expect a big departure. In any case, if folks want to build their own package that provides GraphQL/Falcor server and clients on top of Phoenix, by all means, go ahead and have fun!
- TheAceOfHearts 11y agoWould you please share a link to said keynote? I've been playing around with Elixir and plan on diving into Phoenix as well, so it sounds like it'd be interesting. I've seen there's a library for creating GraphQL services with Phoenix, and I was also planning on using that as well.
- hackerboos 11y agoElixir conf 2015 videos are not yet on ConFreaks. Keep your eyes peeled.
- HusseinMorsy 11y agoThe mentioned talk "What's Next for Phoenix" by Chris McCord is now online https://youtu.be/-7Q3bD4qSVE?list=PLE7tQUdRKcyZb7L66A9JvYWu_ItURk8qJ https://youtu.be/-7Q3bD4qSVE?list=PLE7tQUdRKcyZb7L66A9JvYWu_...