Constructors
constructor
- new GraphQLEndpoint(path?: string, schemas: GraphQLSchema[], graphiql?: boolean): GraphQLEndpoint
-
Parameters
-
path: string = '/'
-
schemas: GraphQLSchema[]
-
graphiql: boolean = false
Properties
Protected
path
path: string
Protected
schemas
schemas: GraphQLSchema[]
showGraphiQL
showGraphiQL: boolean
Methods
endpoint
- endpoint(): string
-
Returns string
graphiql
- graphiql(): boolean
-
Returns boolean
schema
- schema(): GraphQLSchema
-
Returns GraphQLSchema
A specification that defines how to fetch data from a backend system.