Module: ElasticGraph::Rack
- Defined in:
- elasticgraph-rack/lib/elastic_graph/rack.rb,
elasticgraph-rack/lib/elastic_graph/rack/graphiql.rb,
elasticgraph-rack/lib/elastic_graph/rack/graphql_endpoint.rb
Overview
Adapts an ElasticGraph GraphQL endpoint to run as a Rack application. This allows an ElasticGraph GraphQL endpoint to run inside any Rack-compatible web framework, including Ruby on Rails, or as a stand-alone application. Two configurations are supported:
- Use GraphQLEndpoint to serve a GraphQL endpoint.
- Use GraphiQL to serve a GraphQL endpoint and the GraphiQL IDE.
Defined Under Namespace
Modules: GraphiQL Classes: GraphQLEndpoint