line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use 5.014; |
3
|
18
|
|
|
18
|
|
7679
|
use strict; |
|
18
|
|
|
|
|
59
|
|
4
|
18
|
|
|
18
|
|
86
|
use warnings; |
|
18
|
|
|
|
|
32
|
|
|
18
|
|
|
|
|
337
|
|
5
|
18
|
|
|
18
|
|
76
|
use Moo::Role; |
|
18
|
|
|
|
|
47
|
|
|
18
|
|
|
|
|
342
|
|
6
|
18
|
|
|
18
|
|
77
|
|
|
18
|
|
|
|
|
44
|
|
|
18
|
|
|
|
|
92
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
GraphQL::Role::Output - GraphQL "output" object role |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 SYNOPSIS |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
with qw(GraphQL::Role::Output); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# or runtime |
18
|
|
|
|
|
|
|
Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::Output)); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Allows type constraints for output objects. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=cut |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |