SQL::Translator::Producer::GraphQL - GraphQL schema producer for SQL::Translator
use SQL::Translator; use SQL::Translator::Producer::GraphQL; my $t = SQL::Translator->new( parser => '...' ); $t->producer('GraphQL'); $t->translate;
This module will produce a GraphQL::Schema from the given SQL::Translator::Schema. It does this by first turning it into a DBIx::Class::Schema using SQL::Translator::Producer::DBIx::Class::File, then passing it to "to_graphql" in GraphQL::Plugin::Convert::DBIC.
Currently none.
To debug, set environment variable GRAPHQL_DEBUG to a true value.
GRAPHQL_DEBUG
Ed J, <etj at cpan.org>
<etj at cpan.org>
Based heavily on SQL::Translator::Producer::DBIxSchemaDSL.
Copyright (C) Ed J
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install GraphQL::Plugin::Convert::DBIC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GraphQL::Plugin::Convert::DBIC
CPAN shell
perl -MCPAN -e shell install GraphQL::Plugin::Convert::DBIC
For more information on module installation, please visit the detailed CPAN module installation guide.