Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化 #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions blog/2introducing-graphql-nexus-code-first-graphql-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Nexus基于其原语`graphql-js`,使其与当前的GraphQL生态系统基本

#### 使用Nexus定义和实现GraphQL架构

Nexus的API公开了许多函数,允许您为GraphQL架构定义和实现构建块,例如[对象类型](https://nexus.js.org/docs/api-objecttype),[联合](https://nexus.js.org/docs/api-uniontype)和[接口](https://nexus.js.org/docs/api-interfacetype),[枚举](https://nexus.js.org/docs/enumtype)以及您在[GraphQL类型系统中](https://facebook.github.io/graphql/draft/#sec-Type-System)找到的所有其他内容:
Nexus的API公开了许多函数,允许您为GraphQL架构定义和实现构建块,例如[**Object Types**](https://nexus.js.org/docs/api-objecttype),[**Unions**](https://nexus.js.org/docs/api-uniontype)和[**Interfaces**](https://nexus.js.org/docs/api-interfacetype),[**Enums**](https://nexus.js.org/docs/enumtype)以及您在[GraphQL类型系统中](https://facebook.github.io/graphql/draft/#sec-Type-System)找到的所有其他内容:

**Object Types**

Expand Down Expand Up @@ -275,7 +275,7 @@ yarn add nexus graphql
> **npm**
>
> ```bash
> npm install - save - dev ts - node - dev
> npm install -save -dev ts-node-dev
> ```
>
> **yarn**
Expand Down Expand Up @@ -303,7 +303,7 @@ yarn add nexus graphql
> **npm**
>
> ```bash
> npm install - save - dev nodemon
> npm install --save -dev nodemon
> ```
>
> **yarn**
Expand Down