Open alex123098 opened 4 days ago
This is the expected behavior... this is the new request batching protocol. Thats why it has a request index so that we can stream it down. This is part of the new composite schema specification effort we are doing together with Apollo, Netflix and The Guild.
Ah ... what you are saying is that one output is missing? I will have a look at it.
This is the expected behavior
was referring to the fact that it can be out of order.
Product
Hot Chocolate
Version
14.1.0
Link to minimal reproduction
https://github.com/alex123098/hc-race-condition
Steps to reproduce
curl
installeddotnet run
repro.sh
script, which sends two queries batched into a single HTTP requestWhat is expected?
I expect one of 2 valid outputs:
or
What is actually happening?
4 times out of 5 the server returns results of only one query from the batch
Relevant log output
Additional context
I get the expected behavior if I remove calls to
Task.Delay
from both resolvers.