I am working on a Springboot application with GraphQL endpoints. We have to return nested data in response i.e.
Teacher {name, age, Students [{name, class}]}