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: 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": {