Resolving nested data in express GraphQL
问题 I am currently trying to resolve a simple recipe list that has a reference to ingredients. The data layout looks like this: type Ingredient { name: String! amount: Int! unit: Unit! recipe: Recipe } type Recipe { id: Int! name: String! ingredients: [Ingredient]! steps: [String]! pictureUrl: String! } As I understand it, my resolvers should look like this: The first one resolves the recipes and second one resolves the ingredient field in the recipe. It can (from my understanding) use the