Skip to content

Commit

Permalink
Make it clearer what happened on init.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelJCompton committed Mar 15, 2021
1 parent 7258af5 commit dbf8cf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/getting-started.md
Expand Up @@ -85,8 +85,8 @@ type Mutation {

### Implement the resolvers

`gqlgen generate` compares the schema file (`graph/schema.graphqls`) with the models `graph/model/*` and wherever it
can it will bind directly to the model.
When executed, gqlgen's `generate` command compares the schema file (`graph/schema.graphqls`) with the models `graph/model/*`, and, wherever it
can, it will bind directly to the model. That was done alread when `init` was run. We'll edit the schema later in the tutorial, but for now, let's look at what was generated already.

If we take a look in `graph/schema.resolvers.go` we will see all the times that gqlgen couldn't match them up. For us
it was twice:
Expand Down

0 comments on commit dbf8cf4

Please sign in to comment.