DBIx::Class::Helper::Schema::DidYouMean3pm
Nice error messages when you misspell the name of a resultset
Usage
package MyApp::Schema;__PACKAGE__->load_components('Helper::Schema::DidYouMean');
Elsewhere:
$schema->resultset('Usre')->search(...)->...
And a nice exception gets thrown:
The ResultSet "Usre" is not part of your schema.To help you debug this issue, here's a list of the actual sources that theschema knows about:AccountPermissionRole* User <-- Possible Match
Overview
This helper captures errors thrown when you use the "resultset" method on your schema and typo the source name. It tries to highlight the best guess as to which you meant to type.
Copyright and license
This software is copyright (c) 2024 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.