Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBIx::Lite::Schema::Table::class is documented as accepting a $inflator argument, but it doesn't #20

Open
djerius opened this issue Feb 1, 2022 · 0 comments

Comments

@djerius
Copy link

djerius commented Feb 1, 2022

Documentation for DBIx::Lite::Schema::Table::class says:

The "class()" method accepts three more optional arguments:

    $dbix->schema->table('books')->class('My::Book', $constructor, $storage, $inflator);

However, it doesn't actually look for and act on the $inflator argument. Unfortunately this means to get that functionality requires overriding/wrapping the undocumented DBIx::Lite::ResultSet::_inflate_row method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant