Set naming and use_namespaces in the temp loader used in ::Loader to get
the schema_base_class and schema_components so that no backcompat check
is done and warning isn't issued.
my $temp_loader = DBIx::Class::Schema::Loader::Base->new(
%{ $self->_loader_args },
schema => $self,
+ naming => 'current',
+ use_namespaces => 1,
);
if ($temp_loader->schema_base_class || $temp_loader->schema_components) {