Skip to content

Commit

Permalink
Added example of GraphQL query in the docs index page
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagamedov committed Nov 19, 2016
1 parent bd9788e commit 0bd69f4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,18 @@ in edn_ format. For example:
[{:characters [:name :species]}]
will result in:
Corresponding `GraphQL` query will look like this:

.. code-block:: javascript
{
characters {
name
species
}
}
And result of these queries will look like this:

.. code-block:: javascript
Expand Down

0 comments on commit 0bd69f4

Please sign in to comment.