Commit Graph

201 Commits

Author SHA1 Message Date
Brian Clozel
2cb43e9368 Polishing
See gh-863
2024-04-16 17:26:00 +02:00
Brian Clozel
1d98f9b45f Document schema Namespacing with annotated controllers
Closes gh-863
2024-04-16 17:16:44 +02:00
Brian Clozel
4f1f0a2b20 Apply checkstyle changes to spring-graphql-docs
See gh-943
2024-04-04 22:05:38 +02:00
Rob Winch
49446b7171 Migrate Structure 2023-08-04 15:38:28 +01:00
rstoyanchev
142ca8cd73 Add section on file uploads
Closes gh-747
2023-07-18 15:07:25 +01:00
rstoyanchev
db525f18f4 Fix incorrect nesting under Transports section 2023-07-18 12:42:18 +01:00
reillylm
0a2caacf9d fix typo in Reference Docs (Request Execution)
Looks like AsciiDoc syntax needs double backticks for plural words like this
2023-07-17 09:03:28 +01:00
rstoyanchev
7ae8c441f9 Update docs on client side cancellation of subscription
Closes gh-724
2023-07-03 11:11:58 +01:00
Gerrit Meier
f4c5003376 Add tests for Neo4j
Also mention Neo4j as compatible with the reactive stack
and the QuerydslPredicateExecutor.

See gh-734
2023-07-03 06:05:48 +01:00
Brian Clozel
054aaedb16 Document GraphiQL integration
Closes gh-403
2023-05-15 10:49:21 +02:00
Brian Clozel
97990c2543 Rewrite links to new Framework reference docs 2023-05-15 10:49:21 +02:00
Brian Clozel
992b3f4344 Extract large sections of ref docs into includes 2023-05-15 10:49:21 +02:00
rstoyanchev
577014f4f1 Support date types in JsonKeysetCursorStrategy
This adds support for date values to JsonKeysetCursorStrategy by default
when Jackson is on the classpath and also updates the documentation to
provide guidance.

Closes gh-684
2023-05-09 07:02:42 +01:00
rstoyanchev
21f4520a37 Support nested paths in GraphQlTester
Closes gh-457
2023-05-07 21:19:03 +01:00
rstoyanchev
2e7b0108d9 Show pagination args in reference docs sample 2023-05-07 19:37:47 +01:00
rstoyanchev
d3ea23e878 Add hook for the inspection of schema mappings
Closes gh-672
2023-04-28 12:52:29 +01:00
Brian Clozel
75fefe6a58 Merge branch '1.1.x' 2023-04-24 22:57:04 +02:00
Brian Clozel
4e5aaeddab Revisit request observation context type
Prior to this commit, the request execution observation would have a
context of type `RequestReplyReceiverContext` to directly deal with
tracing propagation at the transport level. This approach doesn't work
anymore as the parent observation is not properly set on the resulting
trace, even if it is manually set in the instrumentation.

This commit revisits the request observation setup and turns its context
into a regular `Observation.Context`. Tracing propagation should be
dealt with directly at the transport level by an underlying observation.
This is the case already for Spring Framework HTTP server observations.

As a result, the `PropagationWebGraphQlInterceptor` is deprecated with
no replacement and should not be used anymore.

Fixes gh-675
2023-04-24 22:03:34 +02:00
rstoyanchev
6d8f789d38 SchemaMappingInspector detects unmapped DataFetcher's
Closes gh-671
2023-04-21 09:46:01 +01:00
rstoyanchev
fb6a225193 Polishing in SchemaMappingInspector 2023-04-20 15:46:05 +01:00
rstoyanchev
d933828a23 Polishing
See gh-662
2023-04-19 16:23:39 +01:00
rstoyanchev
63fca20b5b Further update docs for schema mapping inspection
See gh-662
2023-04-19 16:06:03 +01:00
rstoyanchev
ca526f5769 Document schema mapping inspection
Closes gh-662
2023-04-19 14:19:33 +01:00
rstoyanchev
8ec513b799 Minor refactoring in reference docs
Update order of sections under GraphQlSource to reflect actual order of
initialization in addition to minor polishing.
2023-04-19 14:19:33 +01:00
rstoyanchev
145ab22bf3 Merge branch '1.1.x' 2023-04-14 08:29:53 +01:00
rstoyanchev
c650db895b Add link in documentation to Apollo federation sample
Closes gh-384
2023-04-14 08:27:17 +01:00
rstoyanchev
882ad0eb26 Allow fallback on field access for argument binding
Closes gh-599
2023-04-13 18:37:55 +01:00
rstoyanchev
a0d7cc1c8c Expose CursorsStrategy and Subrange as builder options
This makes it possible to customize these settings individually,
optionally, and via QuerydslBuilderCustomizer.

See gh-597
2023-04-12 11:18:40 +01:00
rstoyanchev
1f0c5239c0 Reference docs for Querydsl and QBE pagination
Closes gh-597
2023-04-12 10:26:42 +01:00
rstoyanchev
911b78237c Querydsl and QBE nest into single argument input type
Closes gh-216
2023-03-23 18:29:57 +00:00
rstoyanchev
1a24e31f0f Polishing documentation
See gh-620
2023-03-21 16:09:42 +00:00
rstoyanchev
ee493ef911 Polishing documentation
See gh-620
2023-03-21 13:58:09 +00:00
rstoyanchev
4f873a31eb Add documentation for pagination
Closes gh-620
2023-03-21 12:13:49 +00:00
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
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