From 02c62bcb0b25ff2c37f58fc8fc0b7a6c7d9de84a Mon Sep 17 00:00:00 2001 From: Felix Sun Date: Tue, 2 Jul 2019 14:53:49 +0800 Subject: [PATCH] Fix doc for how to use @goField directives forceResolver option --- docs/content/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/config.md b/docs/content/config.md index 50d550514ab..8a46743fbf5 100644 --- a/docs/content/config.md +++ b/docs/content/config.md @@ -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) } ```