graphql

orestis 2019-11-23T15:20:29.088800Z

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.

1šŸ‘€
orestis 2019-11-23T15:22:08.090900Z

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.

orestis 2019-11-23T15:23:02.092Z

Would be super cool if Lacinia could eventually support them.