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 d945fdd commit 02c62bc
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 02c62bc

Please sign in to comment.