my $fqmeth = $in_class . '::' . %1$s . '()';
DBIx::Class::_Util::emit_loud_diag(
- # Repurpose the assertion envvar ( the override-check is independent
- # from the schema san-checker, but the spirit is the same )
+
+ # Repurpose the assertion envvar ( the override-check is independent
+ # from the schema san-checker, but the spirit is the same )
confess => $ENV{DBIC_ASSERT_NO_FAILING_SANITY_CHECKS},
+
msg =>
"The override method $fqmeth$possible_supers has been bypassed "
. "$cs\n"
use Try::Tiny;
use Scalar::Util qw( weaken blessed refaddr );
use DBIx::Class::_Util qw(
- false emit_loud_diag refdesc
- refcount quote_sub scope_guard
+ refdesc refcount quote_sub scope_guard
is_exception dbic_internal_try
fail_on_internal_call emit_loud_diag
);
emit_loud_diag(
# not much else we can do (aside from exit(1) which is too obnoxious)
msg => 'Incorrect call of result_source() in an eval',
+ emit_dups => 1,
);
# not much else we can do (aside from exit(1) which is too obnoxious)
msg => 'Incorrect call of result_source_instance() in an eval',
skip_frames => 1,
- show_dups => 1,
+ emit_dups => 1,
);
&$orig_rsrc_instance;