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
rstoyanchev
5348129dc5
Polishing client and tester reference docs
...
Also minor fix for WebSocket client subsections that appeared
incorrectly nested under RSocket.
See gh-368
2022-05-05 14:33:58 +01:00
rstoyanchev
d9540fe3c3
Polishing contribution
...
Closes gh-358
2022-04-28 20:46:17 +01:00
sonallux
229220db1c
Fix docs for WebGraphQlTester
...
See gh-358
2022-04-28 20:46:17 +01:00
rstoyanchev
d781ec1fe8
Minor fix in reference docs for BatchMapping methods
...
Closes gh-360
2022-04-28 20:37:51 +01:00
Anbu Sampath
d0c7935874
Document minimum requirement for GraphQL Java 18.0
...
Closes gh-357
2022-04-20 14:21:33 +02:00
rstoyanchev
54d061b218
Extract base GraphQlSource builder
...
Separate more clearly the SDL builder options from other common options
independent of how GraphQLSchema is created.
See gh-312
2022-04-19 14:51:36 +01:00
rstoyanchev
b8c4b25ee6
Improve Server Interception section
...
See gh-350
2022-04-19 08:39:19 +01:00
rstoyanchev
2cd7364069
Add note on Hibernate Validator and Kotlin coroutines
...
See gh-344
2022-04-19 08:39:19 +01:00
rstoyanchev
b5a6790fb5
Polishing Validation section in reference
...
See gh-344
2022-04-19 08:39:19 +01:00
rstoyanchev
304fb45fb7
Refine handling of unresolved exceptions
...
Closes gh-352
2022-04-19 08:39:19 +01:00
Brian Clozel
e455ebb3d8
Support application/graphql+json content type
...
The GraphQL HTTP spec now requires the `"application/graphql+json"`
content type.
This commit applies this type by default in the server and client
implementations. `"application/json"` is still accepted and produced if
requested by clients.
Closes gh-108
2022-04-04 13:34:18 +02:00
rstoyanchev
696f2cd02f
Refine documentSource locations
...
Closes gh-338
2022-04-01 21:39:42 +01:00
Brian Clozel
8bd39ba0f0
Polish
2022-03-29 18:58:16 +02:00