Fix indentation in query examples

This commit is contained in:
belkka 2021-10-12 22:08:12 +03:00 committed by GitHub
parent 55b5920991
commit 1c88ead9e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -418,29 +418,29 @@ the core graphene pages for more information on customizing the Relay experience
You can now execute queries like:
.. code:: python
.. code:: graphql
{
questions (first: 2, after: "YXJyYXljb25uZWN0aW9uOjEwNQ==") {
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
startCursor
endCursor
hasNextPage
hasPreviousPage
}
edges {
cursor
node {
id
question_text
}
cursor
node {
id
question_text
}
}
}
}
Which returns:
.. code:: python
.. code:: json
{
"data": {