News for hackers. Stuff that matters.
Re:Hacker News Clone Using GraphQL and React by arianvanp on Monday October 02, 2017 @04:55AM (#15382517)
Can't you translate GraphQL queries to Joinmonster/Dataloader/Haxl calls? It's up to the implementor of the GraphQL <-> backends layer to build these optimisations, and you could reuse those libraries for that.

Haxl seems particularly suited for this (I think it's the same thing as Dataloader, both from facebook?) as it can efficiently batch and cache queries to multiple sources at the same time. It seems like a good layer between GraphQL and your N data sources.

Re:Hacker News Clone Using GraphQL and React by elnygren on Monday October 02, 2017 @09:10AM (#15383492)
It's certainly doable and has been done. However, it's not as pretty as the rest of GraphQL and there's still a lot of work to be done.

And comparing to something like Django/Rails - there's a lot more DIY involved.