Commit Graph

139 Commits

Author SHA1 Message Date
Eric Fry
1427c7412f Fix typo in reference docs
Closes gh-530
2022-11-17 12:43:06 +00: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
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
Vijayasarathy
17f6a7c103 Fix sample in reference docs
Closes gh-475
2022-09-09 17:35: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
rstoyanchev
b3f13b978a Refactoring in Client and Tester builder implementations
The default transport-specific client and tester extensions contained
their builder implementations, but it makes more sense the other way
around since the extensions are mainly about the builders they provide.
2022-03-29 14:47:35 +01:00
rstoyanchev
f9b84cb8d0 Update documentation for RSocketGraphQlTester
See gh-339
2022-03-29 11:50:23 +01:00
rstoyanchev
681a0dcf4d Update documentation for RSocket
See gh-339
2022-03-28 09:15:38 +01:00
rstoyanchev
6584b88301 Shorten names of [Web|RSocket]GraphQlHandlerInterceptor
See gh-339
2022-03-28 09:07:11 +01:00
rstoyanchev
e71ea056bd Switch to icon without text
Closes gh-329
2022-03-22 18:47:38 +00:00
rstoyanchev
7e43223031 Polishing
See gh-280
2022-03-22 12:33:49 +00:00
rstoyanchev
dfff40085c Rename [Web|Socket]Interceptor
Use more qualified names [Web|Socket]GraphQlHandlerInterceptor to
differentiate with ClientGraphQlInterceptor and to align with other
types in the same package.
2022-03-21 09:04:52 +00:00
rstoyanchev
bb6280863a Update documentation for client interception
See gh-322
2022-03-21 04:27:06 +00:00
rstoyanchev
91e7f285fa Shorten GraphQlResponse[Field|Error] and rename GraphQlService
Rename GraphQlService to ExecutionGraphQlService following the renaming
of the request and response to ExecutionGraphQl[Request|Response].

See gh-332
2022-03-21 04:23:59 +00:00
rstoyanchev
67711f7331 Rename Web[Input|Output] to WebGraphQl[Request|Response]
See gh-332
2022-03-21 04:23:34 +00:00
rstoyanchev
cdd8b67fed Refine GraphQlResponseField getError()
Instead of a simple check, looking for an associated field error at or
above the field, this method now more focused on finding the reason for
a failure when the field has no value.

This allows performing a more thorough search including cases when the
field error is at, above, or even below (e.g. non-null nested field
that bubbled up), in the end falling back on request errors (e.g.
failed response without any field errors).

Also, rename ResponseField to GraphQlResponseField and move to a
top-level class.

See gh-10
2022-03-18 18:19:15 +00:00
rstoyanchev
827b70b71d Update GraphQlResponseError contract
Add a String path representation making it easy to filter errors by
path using String comparison, and refine nullability.

Take advantage of the String error paths to simplify internal filtering
of error fields.

See gh-10
2022-03-18 18:19:15 +00:00
Brian Clozel
b2b1e2d506 Document custom className extractor config
This commit documents how to configure a custom className Extractor
strategy in the `ClassNameTypeResolver`. This also adds an example of a
`GraphQlSourceBuilderCustomizer` in Spring Boot.

Closes gh-334
2022-03-17 17:23:38 +01:00
rstoyanchev
0967a6e7b7 Update documentation for GraphQlClient
See gh-10
2022-03-15 09:00:28 +00:00
Brian Clozel
77e9835d3a Fix typo in reference documentation 2022-03-10 11:11:31 +01:00
Brian Clozel
83d26467e7 Document why Jackson annotations are not used
This commit explains why Jackson annotations have no impact on the
serialization/deserialization process. Instead applications should
describe and coerce types using scalars.

Fixes gh-321
2022-03-10 11:10:09 +01:00
rstoyanchev
fb521e9b6f Add section on GraphQlClient to the reference docs
See gh-10
2022-03-10 09:48:14 +00:00
rstoyanchev
7459637808 Revise GraphQlTester documentation
Closes gh-317
2022-03-09 08:49:34 +00:00
rstoyanchev
afb0b64d3a Add section on directives in reference docs
Closes gh-262
2022-02-17 15:19:01 +00:00
rstoyanchev
194126dc6b Polishing contribution
Closes gh-233
2022-02-17 14:45:09 +00:00
rstoyanchev
1939021ec3 Summarize Boot starter features for GraphQlSource.Builder
Important to mention the `GraphQlSourceBuilderCustomizer` which is
otherwise mentioned neither in the Boot starter nor the reference here.
It is the path to a number of customizations that are discussed in
`GraphQlSource` subsections.

See gh-233
2022-02-17 14:44:57 +00:00
Jordie
a9cd0a9958 Update docs for PreparsedDocumentSupport
See gh-233
2022-02-17 14:44:57 +00:00