graphql
Tags: computers
-
https://hasura.io/blog/remote-joins-a-graphql-api-to-join-database-and-other-data-sources/
-
does it just move the query to the client side? fetching information from calls, and works by bypassing the REST -> SQL translation
-
server implementation of graphql -> authorization, efficient, cache results?
- FB’s graphql stack
- authentication happens by reusing a viewer which is then passed around like a
- FB’s graphql stack
Batching
- Implemented in
DataLoader
: https://github.com/graphql/dataloader- Issues a batch request by watching multiple requests together
Caching
- Uses a globally unique cache key and a refetch identifier