logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

KiokuDB::Meta::Attribute::DoNotSerialize - Trait for skipped attributes

Author

       Yuval Kogman <nothingmuch@woobling.org>

Description

       This Moose::Meta::Attribute trait provides tells KiokuDB to skip an attribute when serializing.

       KiokuDB also recognizes MooseX::Meta::Attribute::Trait::DoNotSerialize, but if you don't want to install
       MooseX::Storage you can use this instead.

Name

       KiokuDB::Meta::Attribute::DoNotSerialize - Trait for skipped attributes

Synopsis

           # in your class:

           package Foo;
           use Moose;

           has bar => (
               traits => [qw(KiokuDB::DoNotSerialize)],
               isa => "Bar",
               is  => "ro",
               lazy_build => 1,
           );

Version

       version 0.57

See Also