Skip to content

Commit

Permalink
Merge pull request #292 from m4ppi/fix-doc
Browse files Browse the repository at this point in the history
Fix broken links in docs
  • Loading branch information
vektah committed Aug 20, 2018
2 parents 5a0b56a + 05c73d9 commit 7191726
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/content/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The aim for this tutorial is to build a "todo" graphql server that can:
- create new todos
- mark off todos as they are completed

You can find the finished code for this tutorial [here](https://github.com/99designs/gqlgen-tutorials/tree/master/gettingstarted)
You can find the finished code for this tutorial [here](https://github.com/vektah/gqlgen-tutorials/tree/master/gettingstarted)

## Install gqlgen

Expand Down Expand Up @@ -92,13 +92,13 @@ And then tell gqlgen to use this new struct by adding this to the gqlgen.yml:
```yaml
models:
Todo:
model: github.com/99designs/gqlgen-tutorials/gettingstarted.Todo
model: github.com/vektah/gqlgen-tutorials/gettingstarted.Todo
```

and regenerate by running
```bash
$ gqlgen -v
Unable to bind Todo.user to github.com/99designs/gqlgen-tutorials/gettingstarted.Todo
$ gqlgen -v
Unable to bind Todo.user to github.com/vektah/gqlgen-tutorials/gettingstarted.Todo
no method named user
no field named user
Adding resolver method
Expand Down
2 changes: 1 addition & 1 deletion docs/content/reference/dataloaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ The generated UserLoader has a few other useful methods on it:
- `LoadAll(keys)`: If you know up front you want a bunch users
- `Prime(key, user)`: Used to sync state between similar loaders (usersById, usersByNote)

You can see the full working example [here](https://github.com/99designs/gqlgen-tutorials/tree/master/dataloader)
You can see the full working example [here](https://github.com/vektah/gqlgen-tutorials/tree/master/dataloader)

0 comments on commit 7191726

Please sign in to comment.