Subject: | make_schema_at only accepts loader_options |
I wanted to pass a custom loader_class into make_schema_at but this is
not possible. I'm not sure why you didn't just use
->connection(@$connect_info, $opts) in make_schema_at. This could be
hard to do well and maintain backwards compatibility though; perhaps
change the code to something like:
my $opts_to_pass = exists $opts->{loader_options} ? $opts : {
loader_options => $opts };
$target->connection(@$connect_info, $opts_to_pass);
This would allow a lot more flexibility; as it is I've had to basically
copy make_schema_at into my program and use this method.
Thanks,
Mark