Skip to content

Commit 17f6a7c

Browse files
vijaya-sarathyrstoyanchev
authored andcommitted
Fix sample in reference docs
Closes gh-475
1 parent c592ee0 commit 17f6a7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-graphql-docs/src/docs/asciidoc/client.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ For example, given a file called `projectReleases.graphql` in
320320
`src/main/resources/graphql-documents`, with content:
321321

322322
[source,graphql,indent=0,subs="verbatim,quotes"]
323-
.src/main/resources/graphql/project.graphql
323+
.src/main/resources/graphql-documents/projectReleases.graphql
324324
----
325325
query projectReleases($slug: ID!) {
326326
project(slug: $slug) {
@@ -341,7 +341,7 @@ You can then:
341341
.retrieve()
342342
.toEntity(Project.class);
343343
----
344-
<1> Load the document from "project.graphql"
344+
<1> Load the document from "projectReleases.graphql"
345345
<2> Provide variable values.
346346

347347
The "JS GraphQL" plugin for IntelliJ supports GraphQL query files with code completion.

0 commit comments

Comments
 (0)