Skip to content

Commit 4111065

Browse files
committed
Update README for move
1 parent 38d4d82 commit 4111065

2 files changed

Lines changed: 22 additions & 3 deletions

File tree

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
1-
# Absinthe Example
1+
# Absinthe Tutorial Code
22

3-
See [The Tutorial](http://absinthe-graphql.org/tutorial/) for steps to build this.
3+
This repository houses the example code for the official Absinthe tutorial
4+
that ships with [Absinthe's documentation](https://hexdocs.pm/absinthe).
5+
6+
It currently targets:
7+
8+
- Absinthe v1.4
9+
- Phoenix v1.3
10+
11+
## Contributing/Scope
12+
13+
Note the tutorial's target audience are beginners and the scope is
14+
currently limited to queries, mutations, and basic schema definitions.
15+
16+
Contributions of additional features (e.g., subscriptions, more complex types, file uploads, etc)
17+
should:
18+
19+
- Still keep beginners in mind.
20+
- Be linked to a PR in the [absinthe](https://github.com/absinthe-graphql/absinthe) project
21+
contributing a draft of accompanying text---as a believable expansion of the tutorial
22+
narrative.
423

524
## License
625

lib/blog_web/resolvers/accounts.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmodule BlogWeb.Resolvers.Accounts do
1010
end
1111

1212
def create_user(_parent, args, %{context: %{current_user: %{admin: true}}}) do
13-
Blog.Accounts.create_user(args) |> IO.inspect
13+
Blog.Accounts.create_user(args)
1414
end
1515
def create_user(_parent, _args, _resolution) do
1616
{:error, "Access denied"}

0 commit comments

Comments
 (0)