fields: { id: {type: GraphQLString, description: "Id"}, manufacturer: { type: GraphQLString, description: "Manufacturer", resolve: car => `${car.vehicle.manufacturer}`}, equipments: { type: new GraphQLList(EquipmentType), description: "Equipments", resolve: car => loaders.equipmentAttributeLoader.load(car.equipments) } });