Commit Graph

174 Commits

Author SHA1 Message Date
rstoyanchev
3b1c9c0957 Update reference docs for annotated exception handlers
Closes gh-160
2023-03-06 12:52:00 +00:00
rstoyanchev
7ce33fb6ab Merge branch '1.1.x' 2023-02-20 18:22:54 +00:00
rstoyanchev
dc90558d9a Configure ExecutionInput in ExecutionGraphQlServiceTester
Closes gh-615
2023-02-16 18:20:45 +00:00
rstoyanchev
1ae33a8ba5 Remove ArgumentMapMethodArgumentResolver
Dropping this the dedicated resolver for @Argument Map<String, Object>
leaves it to ArgumentMethodArgumentResolver and
ArgumentsMethodArgumentResolver to handle the case of
Map<String, Object>, treating it either as a raw argument value for a
named argument, or as the full raw arguments map.

Closes gh-548
2023-02-01 14:49:01 +00:00
rstoyanchev
562d39a9a2 Revert "Remove ArgumentMapMethodArgumentResolver"
This reverts commit 7b30159109.
2023-02-01 09:46:14 +00:00
rstoyanchev
483ef31b5f Add link to Getting Started Guides
Closes gh-551
2023-02-01 09:44:29 +00:00
rstoyanchev
7b30159109 Remove ArgumentMapMethodArgumentResolver
Dropping this the dedicated resolver for @Argument Map<String, Object>
leaves it to ArgumentMethodArgumentResolver and
ArgumentsMethodArgumentResolver to handle the case of
Map<String, Object>, treating it either as a raw argument value for a
named argument, or as the full raw arguments map.

Closes gh-548
2023-01-27 19:38:55 +00:00
Brian Clozel
4c1e7c56e5 Upgrade to spring-asciidoctor-backends 0.0.4
This release is available on Maven Central, whereas 0.0.3 is only
present on repo.spring.io/release.
2023-01-27 09:50:12 +01:00
rstoyanchev
d9497ffd65 Add Boot Starter section to reference
Closes gh-598
2023-01-13 18:25:10 +00:00
rstoyanchev
e316cdf13b Switch order of sections in reference docs
Client and Testing after all others such as Security,
Observability, and GraalVM.
2023-01-13 16:05:36 +00:00
Brian Clozel
222149c142 Document Micrometer Observability support
This commit adds a new Observability section in the reference
documentation, explaining the request and data fetcher observations
created by the new instrumentation.

Closes gh-595
2023-01-10 16:15:48 +01:00
Brian Clozel
4d192318b6 Configure Backport Bot for GitHub workflows
This commit configures the Backport Bot for the repository workflows.
See https://github.com/spring-io/backport-bot

This will create backport issues whenever issues created on the main
line are tagged with the relevant issue label.
2023-01-05 14:30:14 +01:00
rstoyanchev
eb25ea57ab Polishing
Closes gh-573
2022-12-19 20:22:46 +00:00
Tony Marjakangas
608e4dd7e4 Fixed client example with toEntity on field
ResponseField does not contain toEntity but ClientResponseField does
and is returned by response#field.

See gh-573
2022-12-19 20:22:46 +00:00
Brian Clozel
e252724c8f Fix warnings in reference docs code snippets 2022-12-19 20:54:54 +01:00
Brian Clozel
acf1f30c40 Document GraalVM Native support
This commit documents the GraalVM Native image support in Spring for
GraphQL and lists relevant pointers to the Spring Framework and Spring
Boot documentations.

This also explains how developers are expected to provide reachability
hints for the cases where the AOT processing is not able to discover the
relevant types.

Closes gh-581
2022-12-16 10:31:11 +01:00
rstoyanchev
089c754c73 Improve explanation of custom scalars vs Jackson
See gh-569
2022-12-09 16:20:49 +00:00
Brian Clozel
c16521c907 Move interception code snippets to Java classes
This commit starts movint code snippets from the reference documentation
to actual Java classes so that they're compiled and checked at build
time.
2022-12-06 17:07:43 +01:00
Brian Clozel
3d1f3b2fe9 Upgrade to Spring asciidoctor backends 0.0.3
This commit also applies dependency management and dependencies
to the spring-graphql-docs module for compiling code snippets.
2022-12-06 17:07:43 +01:00
Brian Clozel
6029e45825 Reflect media type changes in reference documentation
This commit mentions the `"application/graphql-response+json`" media
type in the reference documentation as the main media type used by the
server.

See gh-563
2022-12-06 17:07:43 +01:00
Brian Clozel
70afadc04a Rewrite anchors in reference documentation
This commit ensures that all anchors in the reference documentation
follow a `"section.sub.title"`-like pattern to better align with the
spring-asciidoctor-backends best practices. This will allow an easier
integration with code snippets.

All rewritten anchors are listed in the anchor-rewrite.properties file
for automatic redirection.
2022-12-06 17:07:40 +01:00
Brian Clozel
0458f15ddd Move deployment repository config to a Gradle convention
This commit moves the configuration of a local Maven deployment
repository in a dedicated Gradle convention and applies it to all
sub-projects. This separates the publishing configuration for actual
project modules (that are meant to be published on Maven Central) from
the infrastructure sub-projects such as the documentation one.
2022-12-06 17:05:50 +01:00
Mark Paluch
ca0d0b46f9 Add builder customizers for Querydsl and QBE DataFetcher
We now provide Builder customizers to customize DataFetchers
created out of Querydsl and Query by Example repositories
by letting repositories implement customizer interfaces.

See gh-559
2022-12-06 15:39:35 +00:00
rstoyanchev
0baceda48c Remove samples from main
We no longer build the samples in the main branch due to dependency
issues between Boot starter dependencies and the project sources.
The samples really need to move out to an independent repository.
For now, this commit removes them from the main branch.

See gh-208
2022-11-24 11:06:45 +00:00
rstoyanchev
78bdf306f9 Support schema transforming GraphQLTypeVisitor
Closes gh-536
2022-11-17 17:05:55 +00:00
rstoyanchev
1a3f0983e6 Merge branch '1.0.x' 2022-11-17 12:43:19 +00:00
Eric Fry
1427c7412f Fix typo in reference docs
Closes gh-530
2022-11-17 12:43:06 +00:00
rstoyanchev
34843f7399 Update reference to link to wiki for requirements 2022-11-16 11:39:22 +00:00
rstoyanchev
1eca67700f Support for default DataLoaderOptions
Closes gh-522
2022-11-09 15:52:41 +00:00
rstoyanchev
be9a21562c Polishing GraphQlArgumentBinder
See gh-349
2022-10-24 18:15:17 +01:00
rstoyanchev
d9f815ed70 Add support for checking if an argument was omitted
Closes gh-518
2022-10-21 14:33:12 +01:00
Brian Clozel
37625fe081 Fix Javadoc generation with Java 17
This project removes all customizations that were tailored for Java 8
Javadoc generation.

Fixes gh-494
2022-10-06 09:36:44 +02:00
rstoyanchev
d6c855898f Merge branch '1.0.x' 2022-09-20 14:06:57 +01:00
rstoyanchev
dfed05a822 Consistent access to raw arguments map
See gh-493
2022-09-20 13:52:38 +01:00
rstoyanchev
9abaa23cfc Document finding schema files across modules
Closes gh-489
2022-09-20 13:52:38 +01:00
rstoyanchev
e4880e990e Merge branch '1.0.x' 2022-09-16 12:29:29 +01:00
rstoyanchev
6ef9152ff3 Document how to transform request validation errors
Closes gh-487
2022-09-13 12:27:22 +01:00
rstoyanchev
15b049248f Polishing docs on server interception
See gh-487
2022-09-13 11:20:02 +01:00
rstoyanchev
01a69faa94 Merge branch '1.0.x' 2022-09-09 17:55:16 +01:00
Vijayasarathy
17f6a7c103 Fix sample in reference docs
Closes gh-475
2022-09-09 17:35:18 +01:00
rstoyanchev
fe7eb1d649 Update docs for context propagation
Closes gh-459
2022-08-31 21:46:18 +01:00
rstoyanchev
2e22dce04a Fix links and improve docs for exposing WebSocket endpoint
Closes gh-436
2022-07-19 16:29:37 +01:00
rstoyanchev
b947554123 Update documentation for SubscriptionExceptionResolver
Closes gh-398
2022-07-19 13:04:11 +01:00
rstoyanchev
65cd5bfb49 Update docs on web interception
Closes gh-428
2022-07-05 15:12:48 +01:00
rstoyanchev
8769501765 Fix outdated sentence in the Overview section 2022-06-24 09:32:56 +01:00
justy
0f06183ca3 fix typo in index.adoc 2022-06-10 16:41:00 +01:00
rstoyanchev
e083dc8615 Support Callable as a controller method return value
Closes gh-316
2022-05-16 04:09:12 +01:00
rstoyanchev
8549060d19 Add start and stop for RSocket client and tester
Closes gh-378
2022-05-06 11:17:53 +01:00
rstoyanchev
5b59e51bab Add @LocalContextValue and resolver
@ContextValue checks in the main context.
@LocalContextValue checks in the local context.

Closes gh-353
2022-05-06 11:17:53 +01:00
rstoyanchev
fc424fdb06 Improve WebSocket and RSocket client reference docs
Provide advice around number of client instances and
connection-oriented nature.

Closes gh-368
2022-05-06 11:17:53 +01:00