GraphQL/Role/Composite.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GraphQL/Plugin/Convert.pm ↑ Summary GraphQL/Role/FieldsInput.pm »
1 package GraphQL::Role::Composite;
2  
3 18 ▶use 5.014;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 18 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 18 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 18 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 18 our $VERSION = '0.02';
9  
10 =head1 NAME
11  
12 GraphQL::Role::Composite - GraphQL object role
13  
14 =head1 SYNOPSIS
15  
16 with qw(GraphQL::Role::Composite);
17  
18 # or runtime
19 Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::Composite));
20  
21 =head1 DESCRIPTION
22  
23 Allows type constraints for composite objects.
24  
25 =cut
26  
27 18 __PACKAGE__->meta->make_immutable();
28  
29 18 1;
« GraphQL/Plugin/Convert.pm ↑ Summary GraphQL/Role/FieldsInput.pm »