Mark Stuart
Dec 13, 2018 · 1 min read

Yep! Exactly.

Those field resolvers are aware of the ID passed from the parent. If a parent returns an Object containing the event ID argument, it’s available as the first argument to its field resolvers. You could also use context, but I like to keep context free of random variables if I can help it.

I updated that example. Appreciate the help! :-)

Mark Stuart

Written by

Leads Web Platform @ PayPal. h4ck 7h3 pl4n37

More From Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade