Page Contents

Home > @loopback/graphql > LoopBackContainer

LoopBackContainer class

Implementation of ContainerType to plug into type-graphql as the IoC container

Signature:

export declare class LoopBackContainer implements ContainerType 

Implements: ContainerType

Constructors

Constructor Modifiers Description
[(constructor)(ctx)](/doc/en/lb4/apidocs.graphql.loopbackcontainer._constructor_.html) Constructs a new instance of the `LoopBackContainer` class

Properties

Property Modifiers Type Description
[ctx](/doc/en/lb4/apidocs.graphql.loopbackcontainer.ctx.html) `readonly` [Context](/doc/en/lb4/apidocs.context.context.html)

Methods

Method Modifiers Description
[get(resolverClass, resolverData)](/doc/en/lb4/apidocs.graphql.loopbackcontainer.get.html)