Skip to content

Commit

Permalink
Comment out autobind in the sample config file (#1872)
Browse files Browse the repository at this point in the history
The reason is that many people using it for the first time copy exactly that configuration example and then open the issues to say it doesn't work.
  • Loading branch information
frederikhors committed Jan 31, 2022
1 parent a30b68d commit f9fcfa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ resolver:

# gqlgen will search for any type names in the schema in these go packages
# if they match it will use them, otherwise it will generate them.
autobind:
- "github.com/your/app/graph/model"
# autobind:
# - "github.com/[YOUR_APP_DIR]/graph/model"

# This section declares type mapping between the GraphQL and go type systems
#
Expand Down

0 comments on commit f9fcfa1

Please sign in to comment.