How to use the @graphql-modules/core.inject function in @graphql-modules/core

To help you get started, we’ve selected a few @graphql-modules/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Urigo / graphql-modules / examples / di / src / modules / info / providers / info.ts View on Github external
constructor(
    @inject(ModuleConfig('info')) private config: any,
    @inject(CommunicationBridge)
    private communicationBridge: CommunicationBridge,
    @inject(AppInfo) private app: AppInfo,
  ) {}
github Urigo / graphql-modules / examples / di / src / modules / info / providers / info.ts View on Github external
constructor(
    @inject(ModuleConfig('info')) private config: any,
    @inject(CommunicationBridge)
    private communicationBridge: CommunicationBridge,
    @inject(AppInfo) private app: AppInfo,
  ) {}