Skip to content

Commit

Permalink
chore(docs): added comment for clarity and consistency (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Ip authored Jun 8, 2020
1 parent 1e640e1 commit 0a07b7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/tutorial/chapter-2-writing-your-first-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ You'll see some feedback from your IDE that you're missing a `resolve` property.
> You might be wondering why Nexus hasn't complained about missing resolvers in some other cases so far. The answer is a more advanced topic that we'll cover later.

```ts
// api/graphql/Post.ts
import { schema } from 'nexus'
// ...

schema.extendType({
type: 'Query',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ You'll see some feedback from your IDE that you're missing a `resolve` property.
> You might be wondering why Nexus hasn't complained about missing resolvers in some other cases so far. The answer is a more advanced topic that we'll cover later.

```ts
// api/graphql/Post.ts
import { schema } from 'nexus'
// ...

schema.extendType({
type: 'Query',
Expand Down

0 comments on commit 0a07b7b

Please sign in to comment.