Class GraphQLPlaygroundModule

java.lang.Object
io.jooby.graphql.playground.GraphQLPlaygroundModule
All Implemented Interfaces:
io.jooby.Extension

public class GraphQLPlaygroundModule extends Object implements io.jooby.Extension
GraphQL Playground module: https://github.com/prisma-labs/graphql-playground.

Usage:


 install(new GraphQLPlaygroundModule());

 
Module install a GET route under /graphql path. Optionally, you can change the route path by setting the graphql.path property in your application configuration file.
Since:
2.4.0
Author:
edgar
  • Constructor Details

    • GraphQLPlaygroundModule

      public GraphQLPlaygroundModule()
  • Method Details

    • install

      public void install(@NonNull io.jooby.Jooby application) throws Exception
      Specified by:
      install in interface io.jooby.Extension
      Throws:
      Exception