@nestjs/core#ApplicationConfig TypeScript Examples

The following examples show how to use @nestjs/core#ApplicationConfig. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: mercurius-gateway.module.ts    From nestjs-mercurius with MIT License 6 votes vote down vote up
constructor(
    protected readonly httpAdapterHost: HttpAdapterHost,
    protected readonly applicationConfig: ApplicationConfig,
    @Inject(GRAPHQL_GATEWAY_MODULE_OPTIONS)
    protected readonly options: MercuriusGatewayModuleOptions,
    protected readonly hookExplorerService: HookExplorerService,
  ) {
    super(httpAdapterHost, applicationConfig, options, hookExplorerService);
  }
Example #2
Source File: mercurius.module.ts    From nestjs-mercurius with MIT License 6 votes vote down vote up
constructor(
    private readonly graphqlFactory: GraphQLFactory,
    private readonly graphqlTypesLoader: GraphQLTypesLoader,
    @Inject(GRAPHQL_MODULE_OPTIONS)
    protected readonly options: MercuriusModuleOptions,
    protected readonly applicationConfig: ApplicationConfig,
    protected readonly httpAdapterHost: HttpAdapterHost,
    protected readonly hookExplorerService: HookExplorerService,
  ) {
    super(httpAdapterHost, applicationConfig, options, hookExplorerService);
  }
Example #3
Source File: base-mercurius.module.ts    From nestjs-mercurius with MIT License 5 votes vote down vote up
constructor(
    protected readonly httpAdapterHost: HttpAdapterHost,
    protected readonly applicationConfig: ApplicationConfig,
    protected readonly options: Opts,
    protected readonly hookExplorerService: HookExplorerService,
  ) {}