Page Contents

Home > @loopback/graphql

graphql package

@loopback/graphql

Classes

Class Description
GraphQLComponent Component for GraphQL
GraphQLResolutionContext Context for graphql resolver resolution
GraphQLServer GraphQL Server
LoopBackContainer Implementation of ContainerType to plug into type-graphql as the IoC container

Functions

Function Description
registerResolver(ctx, resolverClass, nameOrOptions) Register a GraphQL resolver class

Interfaces

Interface Description
GraphQLComponentOptions Options for GraphQL component
GraphQLServerOptions Options for GraphQL server

Namespaces

Namespace Description
GraphQLBindings Namespace for GraphQL related bindings
GraphQLTags Namespace for GraphQL related tags

Variables

Variable Description
arg 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  
argsType  
authorized  
field  
fieldResolver  
inputType  
mutation  
objectType  
pubSub  
query  
resolver  
root  
subscription