DEV Community

Discussion on: Writing GraphQL Resolvers

Collapse
 
thomasstep profile image
Thomas Step

Hi there, I am glad that you got some use out of the post! To answer your question, colleges (and in the example repo getColleges) is only called once, and the child resolvers or any other branches that stem from there are called once per item in the array. colleges/getColleges will always only be called once with its parent being university's return which is { name: args.name } in the post. Did that answer your question?