diff --git a/server/src/main/resources/graphql-playground.html b/server/src/main/resources/graphql-playground.html index 76407218..bed46d95 100644 --- a/server/src/main/resources/graphql-playground.html +++ b/server/src/main/resources/graphql-playground.html @@ -40,6 +40,15 @@ --> + @@ -60,7 +69,17 @@ function GraphiQLWithExplorer() { const [query, setQuery] = React.useState( - 'query AllCategories {\n categories {\n manga {\n title\n }\n }\n}', + 'query AllCategories {\n' + + ' categories {\n' + + ' nodes {\n' + + ' manga {\n' + + ' nodes {\n' + + ' title\n' + + ' }\n' + + ' }\n' + + ' }\n' + + ' }\n' + + '}', ); const explorerPlugin = GraphiQLPluginExplorer.useExplorerPlugin({ query: query,