From 17f6a7c1031c23389fb8dee87070def1cee07d21 Mon Sep 17 00:00:00 2001 From: Vijayasarathy <71578090+vijaya-sarathy@users.noreply.github.com> Date: Sat, 27 Aug 2022 17:37:33 +0530 Subject: [PATCH] Fix sample in reference docs Closes gh-475 --- spring-graphql-docs/src/docs/asciidoc/client.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-graphql-docs/src/docs/asciidoc/client.adoc b/spring-graphql-docs/src/docs/asciidoc/client.adoc index 124e0dba..ea5b8480 100644 --- a/spring-graphql-docs/src/docs/asciidoc/client.adoc +++ b/spring-graphql-docs/src/docs/asciidoc/client.adoc @@ -320,7 +320,7 @@ For example, given a file called `projectReleases.graphql` in `src/main/resources/graphql-documents`, with content: [source,graphql,indent=0,subs="verbatim,quotes"] -.src/main/resources/graphql/project.graphql +.src/main/resources/graphql-documents/projectReleases.graphql ---- query projectReleases($slug: ID!) { project(slug: $slug) { @@ -341,7 +341,7 @@ You can then: .retrieve() .toEntity(Project.class); ---- -<1> Load the document from "project.graphql" +<1> Load the document from "projectReleases.graphql" <2> Provide variable values. The "JS GraphQL" plugin for IntelliJ supports GraphQL query files with code completion.