Revision history for DBIx::Class
+ - Fix result_class setter behaviour to not mistakenly stuff attrs.
+ - Don't try and ensure_class_loaded an object. This doesn't work.
- Add a warning to load_namespaces if a class in ResultSet/
is not a subclass of DBIx::Class::ResultSet
- ::Storage::DBI now correctly preserves a parent $dbh from
$self->ensure_class_loaded($result_class);
}
$self->_result_class($result_class);
- $self->{attrs}{result_class} = $result_class if ref $self;
+ # THIS LINE WOULD BE A BUG - this accessor specifically exists to
+ # permit the user to set result class on one result set only; it only
+ # chains if provided to search()
+ #$self->{attrs}{result_class} = $result_class if ref $self;
}
$self->_result_class;
}