UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

136 lines (65 loc) 1.87 kB
--- lang: en title: 'API docs: graphql.loopbackcontainer' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/graphql permalink: /doc/en/lb4/apidocs.graphql.loopbackcontainer.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/graphql](./graphql.md) &gt; [LoopBackContainer](./graphql.loopbackcontainer.md) ## LoopBackContainer class Implementation of `ContainerType` to plug into `type-graphql` as the IoC container **Signature:** ```typescript export declare class LoopBackContainer implements ContainerType ``` **Implements:** ContainerType ## Constructors <table><thead><tr><th> Constructor </th><th> Modifiers </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [(constructor)(ctx)](./graphql.loopbackcontainer._constructor_.md) </td><td markdown="1"> </td><td markdown="1"> Constructs a new instance of the `LoopBackContainer` class </td></tr> </tbody></table> ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [ctx](./graphql.loopbackcontainer.ctx.md) </td><td markdown="1"> `readonly` </td><td markdown="1"> [Context](./context.context.md) </td><td markdown="1"> </td></tr> </tbody></table> ## Methods <table><thead><tr><th> Method </th><th> Modifiers </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [get(resolverClass, resolverData)](./graphql.loopbackcontainer.get.md) </td><td markdown="1"> </td><td markdown="1"> </td></tr> </tbody></table>