Skip to content

Commit

Permalink
feat(add): add folder constants
Browse files Browse the repository at this point in the history
  • Loading branch information
luas10c committed Jan 15, 2023
1 parent 29882ae commit cdf4998
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions packages/apollo/lib/constants/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './apollo.constants';
2 changes: 1 addition & 1 deletion packages/apollo/lib/decorators/plugin.decorator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
import { PLUGIN_METADATA } from '../apollo.constants';
import { PLUGIN_METADATA } from '../constants';

/**
* Decorator that marks a class as an Apollo plugin.
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo/lib/services/plugins-explorer.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
import { ModulesContainer } from '@nestjs/core/injector/modules-container';
import { BaseExplorerService, GqlModuleOptions } from '@nestjs/graphql';
import { PLUGIN_METADATA } from '../apollo.constants';
import { PLUGIN_METADATA } from '../constants';

export class PluginsExplorerService extends BaseExplorerService {
constructor(private readonly modulesContainer: ModulesContainer) {
Expand Down

0 comments on commit cdf4998

Please sign in to comment.