Fork me on GitHub
#graphql
<
2021-11-18
>
hlship01:11:43

r.e. resolve-as and subscriptions --- fixing this correctly involved changes to lacinia and lacinia-pedestal. Also I found a case where a streamer that passes a value and then nil to the stream function, the response channel is closed before the first value’s response is sent to the client (this is the kind of thing that happens when you (resolve-as nil {:message "…"}).

🚀 1
thumbnail06:11:31

Thanks! I'll be sure to check it out today and report back.

thumbnail11:11:37

I removed our workarounds and everything seems to be working 👌:skin-tone-2:. Thanks the quick fixes 🙂

hlship20:11:15

New alphas of lacinia and lacinia-pedestal with the above changes; also I added a simple parsed query cache to lacinia-pedestal, based on the one we use at Walmart.

thumbnail20:11:10

Cool! I also noticed you fixed a bug in lacina-pedestal which could close subscriptions while queries are still running