Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Pinto::Role::Schema::Result - Attributes and methods for all Schema::Result objects

Author

       Jeffrey Ryan Thalhammer <jeff@stratopan.com>

Description

       This role adds a Pinto::Repository attributes.  It should only be applied to Pinto::Schema::Result
       subclasses, as it will reach into the underlying Pinto::Schema object to get at the repo.

       This gives us a back door for injecting additional attributes into Pinto::Schema::Result objects, since
       those are usually created by DBIx::Class and we don't have control over the construction process.

Name

       Pinto::Role::Schema::Result - Attributes and methods for all Schema::Result objects

Version

       version 0.14

See Also