| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  |  | 
| 2 |  |  |  |  |  |  | use 5.014; | 
| 3 | 5 |  |  | 5 |  | 4170 | use strict; | 
|  | 5 |  |  |  |  | 17 |  | 
| 4 | 5 |  |  | 5 |  | 27 | use warnings; | 
|  | 5 |  |  |  |  | 9 |  | 
|  | 5 |  |  |  |  | 95 |  | 
| 5 | 5 |  |  | 5 |  | 24 | use Moo::Role; | 
|  | 5 |  |  |  |  | 10 |  | 
|  | 5 |  |  |  |  | 108 |  | 
| 6 | 5 |  |  | 5 |  | 32 | use MooX::Thunking; | 
|  | 5 |  |  |  |  | 12 |  | 
|  | 5 |  |  |  |  | 49 |  | 
| 7 | 5 |  |  | 5 |  | 2260 | use GraphQL::Type::Library -all; | 
|  | 5 |  |  |  |  | 5775 |  | 
|  | 5 |  |  |  |  | 61 |  | 
| 8 | 5 |  |  | 5 |  | 661 |  | 
|  | 5 |  |  |  |  | 24 |  | 
|  | 5 |  |  |  |  | 36 |  | 
| 9 |  |  |  |  |  |  | our $VERSION = '0.02'; | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | =head1 NAME | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | GraphQL::Role::FieldsInput - GraphQL object role implementing input fields | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | with qw(GraphQL::Role::FieldsInput); | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | # or runtime | 
| 20 |  |  |  |  |  |  | Role::Tiny->apply_roles_to_object($foo, qw(GraphQL::Role::FieldsInput)); | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | Implements input fields. | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | =head1 ATTRIBUTES | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =head2 fields | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | Thunk of hash-ref mapping fields to their types. | 
| 31 |  |  |  |  |  |  | See L<GraphQL::Type::Library/FieldMapInput>. | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | =cut | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | has fields => (is => 'thunked', isa => FieldMapInput, required => 1); | 
| 36 |  |  |  |  |  |  |  | 
| 37 |  |  |  |  |  |  | __PACKAGE__->meta->make_immutable(); | 
| 38 |  |  |  |  |  |  |  | 
| 39 |  |  |  |  |  |  | 1; |