Skip to content

Commit

Permalink
Fix doc for how to use @gofield directives forceResolver option
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfmin committed Jul 2, 2019
1 parent 21b6511 commit 4d1484b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ Now you can use these directives when defining types in your schema:
```graphql
type User @goModel(model:"github.com/my/app/models.User") {
id: ID! @goField(name:"todoId")
name: String! @goField(resolver: true)
name: String! @goField(forceResolver: true)
}
```

0 comments on commit 4d1484b

Please sign in to comment.