Skip to content

Commit

Permalink
Merge pull request 99designs#771 from sunfmin/master
Browse files Browse the repository at this point in the history
Fix doc for how to use @gofield directives forceResolver option
  • Loading branch information
lwc authored Jul 2, 2019
2 parents d945fdd + 02c62bc commit e9f5377
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 e9f5377

Please sign in to comment.