Fork me on GitHub

In that vein, Facebook recently mentioned some custom directives that will make their way to the official spec: @defer and @stream - IIRC both of them are meant to de-prioritize parts of he graph so the initial response is available to the frontend earlier, and then other parts of the response will come in as separate chunks.

👀 4

It makes a lot of sense and I already have a ton of use-cases for that sort of thing in our UI, parts that I know are expensive that today I’d have to work around by making separate requests for them and orchestrating everything by hand.


Would be super cool if Lacinia could eventually support them.