Fork me on GitHub
#graphql
<
2019-11-23
>
orestis15:11:29

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
orestis15:11:08

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.

orestis15:11:02

Would be super cool if Lacinia could eventually support them.