Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken links in docs #292

Merged
merged 1 commit into from
Aug 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)