Re:Facebook’s GraphQL gets its own open-source foundation
by BenjieGillam on Wednesday November 07, 2018 @12:47PM
(#18400757)
PostGraphile is built on Graphile Engine which is completely backend-independent (like GraphQL itself). This is what we use in PostGraphile for the "look-ahead" functionality, allowing you to build a database/API/backend query that represents a full GraphQL query as one action. You can read more about it here, though it's currently not as well documented as PostGraphile itself. https://www.graphile.org/graphile-build/
Re:Facebook’s GraphQL gets its own open-source foundation
by macca321 on Thursday November 08, 2018 @04:44AM
(#18405306)
Almost like a Language INtegrated Query (LINQ) in C#?
OData did exactly this years ago, and got heavily criticised for giving too much querying power to the client side, as (without expert usage on the server side to whitelist the query) a client could run queries that would overload the server.
You're damned if you do, and damned if you don't.
I think Facebook's Dataloader is more close to a solution.