perl-Dancer2-Plugin-GraphQL-0.07-alt1.noarch.rpm


Advertisement

Description

perl-Dancer2-Plugin-GraphQL - a plugin for adding GraphQL route handlers

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Dancer2-Plugin-GraphQL-0.07-alt1.noarch.rpm
Package name perl-Dancer2-Plugin-GraphQL
Package version 0.07
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 14.60 KB
Installed size 14.60 KB
The `graphql' keyword which is exported by this plugin allow you to
define a route handler implementing a GraphQL endpoint.
Parameters, after the route pattern:
=over 4
=item $schema
A the GraphQL::Schema manpage object.
=item $root_value
An optional root value, passed to top-level resolvers.
=item $field_resolver
An optional field resolver, replacing the GraphQL default.
=item $route_handler
An optional route-handler, replacing the plugin's default - see example
above for possibilities.
It must return JSON-able Perl data in the GraphQL format, which is a hash
with at least one of a `data' key and/or an `errors' key.
If it throws an exception, that will be turned into a GraphQL-formatted
error.
=back
If you supply two code-refs, they will be the `$resolver' and
`$handler'. If you only supply one, it will be `$handler'. To be
certain, pass all four post-pattern arguments.
The route handler code will be compiled to behave like the following:
=over 4
=item *
Passes to the the GraphQL manpage execute, possibly via your supplied handler,
the given schema, `$root_value' and `$field_resolver'.
=item *
The action built matches POST / GET requests.
=item *
Returns GraphQL results in JSON form.
=back

Alternatives

Package Version Architecture Repository
perl-Dancer2-Plugin-GraphQL - - -

Requires

Name Value
/usr/share/perl5 -
perl(Dancer2/Core/Types.pm) -
perl(Dancer2/Plugin.pm) -
perl(GraphQL/Execution.pm) -
perl(Module/Runtime.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Dancer2/Plugin/GraphQL.pm) = 0.070
perl-Dancer2-Plugin-GraphQL = 0.07-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Dancer2-Plugin-GraphQL-0.07-alt1.noarch.rpm
Source Package perl-Dancer2-Plugin-GraphQL-0.07-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Dancer2-Plugin-GraphQL rpm package:
    # sudo apt-get install perl-Dancer2-Plugin-GraphQL

Files

Path
/usr/share/doc/perl-Dancer2-Plugin-GraphQL-0.07/Changes
/usr/share/doc/perl-Dancer2-Plugin-GraphQL-0.07/README.md
/usr/share/perl5/Dancer2/
/usr/share/perl5/Dancer2/Plugin/GraphQL.pm

See Also

Package Description
perl-Dancer2-Plugin-Growler-0.03-alt1.noarch.rpm Growl multiple messages of varying types to the user on their next hit
perl-Dancer2-Plugin-HTTP-Auth-Extensible-0.121-alt1.noarch.rpm extensible authentication framework for Dancer2 apps
perl-Dancer2-Plugin-HTTP-Bundle-0.02-alt1.noarch.rpm The missing HTTP bits of Dancer2 Bundled
perl-Dancer2-Plugin-HTTP-Caching-0.01-alt1.noarch.rpm RFC 7234 compliant
perl-Dancer2-Plugin-HTTP-ConditionalRequest-0.05-alt1.noarch.rpm RFC 7232 compliant
perl-Dancer2-Plugin-HTTP-ContentNegotiation-0.02-alt1.noarch.rpm Server-driven negotiation
perl-Dancer2-Plugin-JSManager-0.013-alt1.noarch.rpm Manage website javascript files with the Dancer2 configuration file
perl-Dancer2-Plugin-JWT-0.017-alt1.noarch.rpm JSON Web Token made simple for Dancer2
perl-Dancer2-Plugin-Locale-0.04-alt1.noarch.rpm Localize your Dancer2 application
perl-Dancer2-Plugin-Locale-Meta-0.006-alt1.noarch.rpm Interface to support multilanguage using Locale::Meta package
perl-Dancer2-Plugin-Locale-Wolowitz-0.05-alt1.noarch.rpm Dancer2's plugin for Locale::Wolowitz
perl-Dancer2-Plugin-LogContextual-1.152121-alt1.noarch.rpm wrap a Dancer2 plack app in the configured Log::Contextual logger
perl-Dancer2-Plugin-Map-Tube-0.02-alt1.noarch.rpm Dancer2 add-on for Map::Tube
perl-Dancer2-Plugin-MarkdownFilesToHTML-0.017-alt1.noarch.rpm Easy conversion of markdown documents to HTML for display in your Dancer2 website
perl-Dancer2-Plugin-Menu-0.009-alt1.noarch.rpm Automatically generate an HTML menu for your Dancer2 app
Advertisement
Advertisement