Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

KiokuDB::Backend::Serialize::Delegate - Use a KiokuDB::Serializer object instead of a role to handle

Author

       Yuval Kogman <nothingmuch@woobling.org>

Description

       This role provides a "serialzier" attribute (by default KiokuDB::Serializer::Storable) with coercions
       from a moniker string for easy serialization format selection.

Name

       KiokuDB::Backend::Serialize::Delegate - Use a KiokuDB::Serializer object instead of a role to handle
       serialization in a backend.

Synopsis

           package MyBackend;
           use Moose;

           with qw(
               ...
               KiokuDB::Backend::Serialize::Delegate
           );

           MyBackend->new(
               serializer => "yaml",
           );

Version

       version 0.57

See Also