]> Dogcows Code - chaz/graphql-client/blobdiff - lib/GraphQL/Client/CLI.pm
Version 0.605
[chaz/graphql-client] / lib / GraphQL / Client / CLI.pm
index 902fc4c1f97c3146d9e8a494e325ad78fd43e8df..888b535b4a9e98e3d6788234f4845ecfb7b09af3 100644 (file)
@@ -11,7 +11,7 @@ use JSON::MaybeXS;
 use Text::ParseWords;
 use namespace::clean;
 
-our $VERSION = '0.604'; # VERSION
+our $VERSION = '0.605'; # VERSION
 
 my $JSON = JSON::MaybeXS->new(canonical => 1);
 
@@ -138,6 +138,7 @@ sub _get_options {
 
     my $transport = eval { _expand_vars($options{transport}) };
     die "Two or more --transport keys are incompatible.\n" if $@;
+    $options{transport} = $transport if ref $transport eq 'HASH' && %$transport;
 
     if (ref $options{variables}) {
         $options{variables} = eval { _expand_vars($options{variables}) };
@@ -368,7 +369,7 @@ GraphQL::Client::CLI - Implementation of the graphql CLI program
 
 =head1 VERSION
 
-version 0.604
+version 0.605
 
 =head1 DESCRIPTION
 
@@ -397,7 +398,7 @@ feature.
 
 =head1 AUTHOR
 
-Charles McGarvey <chazmcgarvey@brokenzipper.com>
+Charles McGarvey <ccm@cpan.org>
 
 =head1 COPYRIGHT AND LICENSE
 
This page took 0.020523 seconds and 4 git commands to generate.