mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-08 06:13:24 +03:00
Fix indentation in query examples
This commit is contained in:
parent
55b5920991
commit
1c88ead9e5
|
@ -418,29 +418,29 @@ the core graphene pages for more information on customizing the Relay experience
|
||||||
You can now execute queries like:
|
You can now execute queries like:
|
||||||
|
|
||||||
|
|
||||||
.. code:: python
|
.. code:: graphql
|
||||||
|
|
||||||
{
|
{
|
||||||
questions (first: 2, after: "YXJyYXljb25uZWN0aW9uOjEwNQ==") {
|
questions (first: 2, after: "YXJyYXljb25uZWN0aW9uOjEwNQ==") {
|
||||||
pageInfo {
|
pageInfo {
|
||||||
startCursor
|
startCursor
|
||||||
endCursor
|
endCursor
|
||||||
hasNextPage
|
hasNextPage
|
||||||
hasPreviousPage
|
hasPreviousPage
|
||||||
}
|
}
|
||||||
edges {
|
edges {
|
||||||
cursor
|
cursor
|
||||||
node {
|
node {
|
||||||
id
|
id
|
||||||
question_text
|
question_text
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Which returns:
|
Which returns:
|
||||||
|
|
||||||
.. code:: python
|
.. code:: json
|
||||||
|
|
||||||
{
|
{
|
||||||
"data": {
|
"data": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user