line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use 5.014; |
3
|
18
|
|
|
18
|
|
9669
|
use strict; |
|
18
|
|
|
|
|
57
|
|
4
|
18
|
|
|
18
|
|
90
|
use warnings; |
|
18
|
|
|
|
|
32
|
|
|
18
|
|
|
|
|
427
|
|
5
|
18
|
|
|
18
|
|
86
|
use Moo::Role; |
|
18
|
|
|
|
|
36
|
|
|
18
|
|
|
|
|
427
|
|
6
|
18
|
|
|
18
|
|
74
|
|
|
18
|
|
|
|
|
31
|
|
|
18
|
|
|
|
|
107
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
GraphQL::Role::Input - GraphQL object role |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 SYNOPSIS |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
with qw(GraphQL::Role::Input); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# or runtime |
18
|
|
|
|
|
|
|
Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::Input)); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Allows type constraints for input objects. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=cut |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |