graphql

hlship 2021-03-06T02:15:32.007600Z

siblings can work in parallel, but the parent resolver must fully execute before any child resolvers can be invoked. The parent provides the raw value that is passed to the children.

chrisulloa 2021-03-11T16:06:02.009800Z

I’m guessing that if the parent resolver is async, it’s fully executed at the point where the resolver returns a promise. I’m seeing the parent execute in parallel with the children in this case. Will dig in further.

hlship 2021-03-06T02:16:14.007700Z

Nothing like this currently exists. I’m very curious how this would be useful.

hlship 2021-03-06T02:16:35.007900Z

Generally, if children need information from a higher level, a parent resolver puts data into the context that is passed down to children.