The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
package Chloro::Test::Login;

use Moose;
use namespace::autoclean;

use Chloro;

use Chloro::Types qw( Bool Str );

field username => (
    isa      => Str,
    required => 1,
);

field password => (
    isa      => Str,
    required => 1,
    secure   => 1,
);

field remember => (
    isa     => Bool,
    default => 0,
);

__PACKAGE__->meta()->make_immutable;

1;