Skip to content

Commit d8ad920

Browse files
author
huadong zuo
authored
Merge pull request #384 from YangFong/YangFong-patch-1
fix: block language
2 parents bfefab5 + 0c795b5 commit d8ad920

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

10/graphql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ definitionsFactory.generate({
253253

254254
要用 [Apollo Sandbox](https://www.apollographql.com/blog/announcement/platform/apollo-sandbox-an-open-graphql-ide-for-local-development/) 替代 graphql-playground 作为你本地开发的 GraphQL IDE,使用以下配置:
255255

256-
```
256+
```typescript
257257
import { ApolloDriver, ApolloDriverConfig } from '@nestjs/apollo';
258258
import { Module } from '@nestjs/common';
259259
import { GraphQLModule } from '@nestjs/graphql';
@@ -347,7 +347,7 @@ GraphQLModule.forRootAsync<ApolloDriverConfig>({
347347

348348
除了使用Apollo,Fastify用户([在此](https://docs.nestjs.com/techniques/performance)了解更多信息)也可以使用@nestjs/mercurius驱动程序。
349349

350-
```
350+
```typescript
351351
import { Module } from '@nestjs/common';
352352
import { GraphQLModule } from '@nestjs/graphql';
353353
import { MercuriusDriver, MercuriusDriverConfig } from '@nestjs/mercurius';

0 commit comments

Comments
 (0)