remove apollo studio

This commit is contained in:
João Geonizeli
2022-09-21 08:34:45 -03:00
parent 98a58404de
commit 5246746721
2 changed files with 1 additions and 4 deletions

View File

@@ -28,7 +28,6 @@
"@nestjs/core": "^9.0.0",
"@nestjs/graphql": "^10.0.21",
"@nestjs/platform-express": "^9.0.0",
"apollo-server-core": "^3.10.1",
"apollo-server-express": "^3.10.1",
"axios-cache-adapter": "^2.7.3",
"camelcase-object-deep": "^1.1.7",

View File

@@ -3,7 +3,6 @@ import { HttpModule } from '@nestjs/axios';
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { GraphQLModule } from '@nestjs/graphql';
import { ApolloServerPluginLandingPageLocalDefault } from 'apollo-server-core';
import { join } from 'path';
import { ThingResolver } from './thing/thing.resolver';
import { httpCacheAdapter } from './utils/httpCacheAdapter';
@@ -21,9 +20,8 @@ import { httpCacheAdapter } from './utils/httpCacheAdapter';
GraphQLModule.forRoot<ApolloDriverConfig>({
driver: ApolloDriver,
autoSchemaFile: join(process.cwd(), 'src/schema.gql'),
playground: false,
playground: true,
introspection: true,
plugins: [ApolloServerPluginLandingPageLocalDefault()],
}),
],
providers: [ThingResolver],