Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add section on code generation to the documentation #847

Closed
rstoyanchev opened this issue Nov 15, 2023 · 0 comments
Closed

Add section on code generation to the documentation #847

rstoyanchev opened this issue Nov 15, 2023 · 0 comments
Assignees
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Milestone

Comments

@rstoyanchev
Copy link
Contributor

This has been discussed previously in #472 and #159, but nothing in our documentation yet.

We don't support generation of classes, but it's possible to use the DGS codegen plugin, which is especially useful for access to remote GraphQL services by using generated types to prepare the request (e.g. query, mutation, and projections). This is easy to use with our GraphQlClient and GraphQlTester.

It would be good to document that for a start. We'll also explore making it simpler in #846 and also spring-io/start.spring.io#1348.

@rstoyanchev rstoyanchev added the type: documentation A documentation task label Nov 15, 2023
@rstoyanchev rstoyanchev added this to the 1.2.4 milestone Nov 15, 2023
@rstoyanchev rstoyanchev self-assigned this Nov 15, 2023
@rstoyanchev rstoyanchev added the for: backport-to-1.2.x Marks an issue as a candidate for backport to 1.2.x label Nov 15, 2023
@github-actions github-actions bot added status: backported An issue that has been backported to maintenance branches and removed for: backport-to-1.2.x Marks an issue as a candidate for backport to 1.2.x labels Nov 15, 2023
rstoyanchev added a commit that referenced this issue Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

1 participant