From 6ddaeadbd5d904a9c73152b640a363b96d696781 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Tue, 15 Apr 2025 22:33:28 +0200 Subject: [PATCH] Fix codegen documentation section Closes gh-1188 --- spring-graphql-docs/modules/ROOT/pages/codegen.adoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/spring-graphql-docs/modules/ROOT/pages/codegen.adoc b/spring-graphql-docs/modules/ROOT/pages/codegen.adoc index 70ffb1cb..014c849d 100644 --- a/spring-graphql-docs/modules/ROOT/pages/codegen.adoc +++ b/spring-graphql-docs/modules/ROOT/pages/codegen.adoc @@ -13,10 +13,8 @@ want to add logic to them. Code generation, however, is a good fit for client ty those define the request, and don't need to have other logic. As a client, you may also choose to generate the data types for the response. -Client generated types can be used with Spring's -xref:client.adoc#client.dgsgraphqlclient[DgsGraphQlClient]. Start by following the -instructions for the DGS code generation plugin to generate client API types. Then, given -a schema like this: +Start by following the instructions for the DGS code generation plugin to generate client API types. +Then you can xref:client.adoc#client.dgsgraphqlclient[use client generated types with Spring's DgsGraphQlClient]. TIP: Spring Initializer at https://start.spring.io can create a Spring project with the DGS Codegen Gradle or Maven plugin. \ No newline at end of file