code: func (m *GormIterationRepository) List(ctx context.Context, spaceID uuid.UUID) ([]Iteration, error) {
  	defer goa.MeasureSince([]string{"goa", "db", "iteration", "query"}, time.Now())
  	var objs []Iteration
  
  	err := m.db.Where("space_id = ?", spaceID).Find(&objs).Error
  	if err != nil && err != gorm.ErrRecordNotFound {
  		log.Error(ctx, map[string]interface{}{
  			"space_id": spaceID,
  			"err":      err,
  		}, "unable to list the iterations")
  		return nil, errs.WithStack(err)
  	}
  	return objs, nil
  }
docs: // List all Iterations related to a single item