Skip to content

Commit

Permalink
add docs for resolver generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Scarr committed Aug 2, 2018
1 parent 648b5ec commit 26bcbd6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/content/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ model:
filename: models/generated.go
package: models

# Optional, turns on resolver stub generation
resolver:
filename: resolver.go # where to write them
type: Resolver # whats the resolver root implementation type called?

# Tell gqlgen about any existing models you want to reuse for
# graphql. These normally come from the db or a remote api.
models:
Expand Down

0 comments on commit 26bcbd6

Please sign in to comment.