File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ definitionsFactory.generate({
253
253
254
254
要用 [ Apollo Sandbox] ( https://www.apollographql.com/blog/announcement/platform/apollo-sandbox-an-open-graphql-ide-for-local-development/ ) 替代 graphql-playground 作为你本地开发的 GraphQL IDE,使用以下配置:
255
255
256
- ```
256
+ ``` typescript
257
257
import { ApolloDriver , ApolloDriverConfig } from ' @nestjs/apollo' ;
258
258
import { Module } from ' @nestjs/common' ;
259
259
import { GraphQLModule } from ' @nestjs/graphql' ;
@@ -347,7 +347,7 @@ GraphQLModule.forRootAsync<ApolloDriverConfig>({
347
347
348
348
除了使用Apollo,Fastify用户([ 在此] ( https://docs.nestjs.com/techniques/performance ) 了解更多信息)也可以使用@nestjs/mercurius 驱动程序。
349
349
350
- ```
350
+ ``` typescript
351
351
import { Module } from ' @nestjs/common' ;
352
352
import { GraphQLModule } from ' @nestjs/graphql' ;
353
353
import { MercuriusDriver , MercuriusDriverConfig } from ' @nestjs/mercurius' ;
You can’t perform that action at this time.
0 commit comments