X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2FGraphQL%2FClient%2FCLI.pm;h=888b535b4a9e98e3d6788234f4845ecfb7b09af3;hb=refs%2Fheads%2Fdist;hp=902fc4c1f97c3146d9e8a494e325ad78fd43e8df;hpb=26b24f42605c8646a9c21ef2b94f1ceeec6cf634;p=chaz%2Fgraphql-client diff --git a/lib/GraphQL/Client/CLI.pm b/lib/GraphQL/Client/CLI.pm index 902fc4c..888b535 100644 --- a/lib/GraphQL/Client/CLI.pm +++ b/lib/GraphQL/Client/CLI.pm @@ -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 +Charles McGarvey =head1 COPYRIGHT AND LICENSE