Comment on A first GraphQL ServerparentComments−jimmyhmiller11yHow does resolve deal with asynchronous calls? The name almost suggests that you might be able to return a promise?−funksta11yYes, you can return a Promise in resolve(). I believe it's mentioned in the first half of this talk: https://www.youtube.com/watch?v=gY48GW87Feo
Comments
How does resolve deal with asynchronous calls? The name almost suggests that you might be able to return a promise?
Yes, you can return a Promise in resolve(). I believe it's mentioned in the first half of this talk: https://www.youtube.com/watch?v=gY48GW87Feo