Page Contents
graphql package
Classes
| Class | Description |
|---|---|
| [GraphQLComponent](/doc/en/lb4/apidocs.graphql.graphqlcomponent.html) | Component for GraphQL |
| [GraphQLResolutionContext](/doc/en/lb4/apidocs.graphql.graphqlresolutioncontext.html) | Context for graphql resolver resolution |
| [GraphQLServer](/doc/en/lb4/apidocs.graphql.graphqlserver.html) | GraphQL Server |
| [LoopBackContainer](/doc/en/lb4/apidocs.graphql.loopbackcontainer.html) | Implementation of `ContainerType` to plug into `type-graphql` as the IoC container |
Functions
| Function | Description |
|---|---|
| [registerResolver(ctx, resolverClass, nameOrOptions)](/doc/en/lb4/apidocs.graphql.registerresolver.html) | Register a GraphQL resolver class |
Interfaces
| Interface | Description |
|---|---|
| [GraphQLComponentOptions](/doc/en/lb4/apidocs.graphql.graphqlcomponentoptions.html) | Options for GraphQL component |
| [GraphQLServerOptions](/doc/en/lb4/apidocs.graphql.graphqlserveroptions.html) | Options for GraphQL server |
Namespaces
| Namespace | Description |
|---|---|
| [GraphQLBindings](/doc/en/lb4/apidocs.graphql.graphqlbindings.html) | Namespace for GraphQL related bindings |
| [GraphQLTags](/doc/en/lb4/apidocs.graphql.graphqltags.html) | Namespace for GraphQL related tags |
Variables
| Variable | Description |
|---|---|
| [arg](/doc/en/lb4/apidocs.graphql.arg.html) | Re-exporting type-graphql decorators as lower case versions for two purposes: - To be consistent with LoopBack's naming convention of decorators - Allow future possibility to add extra metadata in addition to type-graphql's behavior, for example, mapping to LoopBack model properties |
| [args](/doc/en/lb4/apidocs.graphql.args.html) | |
| [argsType](/doc/en/lb4/apidocs.graphql.argstype.html) | |
| [authorized](/doc/en/lb4/apidocs.graphql.authorized.html) | |
| [field](/doc/en/lb4/apidocs.graphql.field.html) | |
| [fieldResolver](/doc/en/lb4/apidocs.graphql.fieldresolver.html) | |
| [inputType](/doc/en/lb4/apidocs.graphql.inputtype.html) | |
| [mutation](/doc/en/lb4/apidocs.graphql.mutation.html) | |
| [objectType](/doc/en/lb4/apidocs.graphql.objecttype.html) | |
| [pubSub](/doc/en/lb4/apidocs.graphql.pubsub.html) | |
| [query](/doc/en/lb4/apidocs.graphql.query.html) | |
| [resolver](/doc/en/lb4/apidocs.graphql.resolver.html) | |
| [root](/doc/en/lb4/apidocs.graphql.root.html) | |
| [subscription](/doc/en/lb4/apidocs.graphql.subscription.html) |
Type Aliases
| Type Alias | Description |
|---|---|
| [GraphQLWsContextResolver](/doc/en/lb4/apidocs.graphql.graphqlwscontextresolver.html) |