Created
June 19, 2019 15:47
-
-
Save jjn1056/74639799b5b5a3d9a78d39d549707630 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use GraphQL::Type::Scalar qw($String); | |
my $type = GraphQL::Type::Object->new( | |
name => 'Object', | |
fields => { | |
field_name => { | |
type => $String, | |
directives => [ | |
{ | |
name => 'isAuthorized', | |
}, | |
], | |
}, | |
}, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment