Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (9 sloc) 185 Bytes
#!/usr/bin/env perl6
use GraphQL;
use GraphQL::Server;
class Query
{
method hello(--> Str) { 'Hello World' }
}
my $schema = GraphQL::Schema.new(Query);
GraphQL-Server($schema);