Commit Graph

953 Commits

Author SHA1 Message Date
Brian Clozel
6ebdc46fa3 Upgrade to Jackson 2.13.4.20221013 2022-10-18 16:42:05 +02:00
Brian Clozel
1b19189500 Add Observability support
Prior to this commit, metrics instrumentation was provided by Spring
Boot, using Micrometer metrics. The `Instrumentation` would publish two
timers and a counter, but would not support tracing.

This commit replaces the former with a dedicated support in Spring for
GraphQL directly. This uses the new `Observation` API from Micrometer
and publishes two observations:

* a request execution observation, with timing and tracing included
* a data fetching observation with the request execution as a parent
  observation

Closes gh-501
2022-10-18 15:51:48 +02:00
Brian Clozel
30bc70be5f Upgrade CI infrastructure
This commit updates the following parts of the CI infrastructure:

* the base OS image
* the docker daemon version
* the JDK versions we're building against
2022-10-17 23:38:34 +02:00
Brian Clozel
ba6b6c7172 Upgrade to Spring Framework 6.0.0-RC1
Closes gh-510
2022-10-17 23:34:37 +02:00
rstoyanchev
ea8fed8800 Merge branch '1.0.x' 2022-10-17 17:44:19 +01:00
rstoyanchev
13683eea17 Support Optional for ProjectPayload arguments
Closes gh-506
2022-10-17 17:27:44 +01:00
rstoyanchev
560c2b53f2 Polishing contribution
Closes gh-507
2022-10-17 16:58:56 +01:00
Koen Punt
da21f7438c Print actual elements in GraphQlTester
See gh-507
2022-10-17 16:32:42 +01:00
rstoyanchev
30b16898f3 Merge branch '1.0.x' 2022-10-13 17:13:05 +01:00
rstoyanchev
f3d07c1bd8 Polishing contribution
Closes gh-498
2022-10-13 17:02:08 +01:00
Iván Rodríguez Murillo
0faa63beea Allow use of loadbalanced RSocketRequester
See gh-498
2022-10-13 15:55:21 +01:00
Brian Clozel
c414411278 Upgrade dependencies
* switch to expected Hibernate version
* upgrade log4j2 dependency
2022-10-11 14:26:22 +02:00
Brian Clozel
39d97ef7fc Upgrade to Context Propagation 1.0.0-RC1
Closes gh-505
2022-10-11 14:26:02 +02:00
Brian Clozel
00ca12f414 Switch to Reactor and Context Propagation SNAPSHOTs 2022-10-06 15:56:39 +02: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
Spring Builds
33ec463f23 Next development version (v1.0.3-SNAPSHOT) 2022-09-20 13:18:32 +00:00
rstoyanchev
d6c855898f Merge branch '1.0.x' 2022-09-20 14:06:57 +01:00
rstoyanchev
84904170a8 Support binding to generic Object constructor arg
Closes gh-447
2022-09-20 13:52:38 +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
Brian Clozel
a69b7bc687 Upgrade dependencies 2022-09-20 12:11:48 +02:00
Brian Clozel
0ffbc60214 Merge branch '1.0.x' 2022-09-20 11:35:26 +02:00
Brian Clozel
4de39f0d0f Upgrade optional dependencies 2022-09-20 11:35:01 +02:00
rstoyanchev
02c9ab1dc0 Merge branch '1.0.x' 2022-09-19 17:07:54 +01:00
rstoyanchev
1773f6ed33 Apply validation only when annotations detected
Closes gh-445
2022-09-19 15:34:36 +01:00
rstoyanchev
76f97da412 Polishing validation code
See gh-445
2022-09-19 15:34:36 +01:00
Brian Clozel
b2e1a42a24 Merge branch '1.0.x' 2022-09-19 11:17:27 +02:00
Brian Clozel
08df89e40e Upgrade to Gradle 7.5.1 2022-09-19 11:17:12 +02:00
Jerome Prinet
ca0520a023 Update Gradle Enterprise plugin to 3.11.1
Closes gh-492
2022-09-19 11:17:06 +02: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
2f598ed00e Support Optional constructor arg for argument binding
Closes gh-470
2022-09-13 10:19:16 +01:00
rstoyanchev
01a69faa94 Merge branch '1.0.x' 2022-09-09 17:55:16 +01:00
rstoyanchev
257f309818 Polishing contribution
Closes gh-486
2022-09-09 17:50:17 +01:00
Alexander Zhuravlev
65facf41f3 Fix NPE when GraphQL argument is list with null
See gh-486
2022-09-09 17:38:00 +01:00
Vijayasarathy
17f6a7c103 Fix sample in reference docs
Closes gh-475
2022-09-09 17:35:18 +01:00
rstoyanchev
c592ee0962 GraphiQlHandler supports path variables
Closes gh-478
2022-09-09 17:32:19 +01:00
rstoyanchev
d8e1402e0e Merge branch '1.0.x' 2022-09-09 12:30:36 +01:00
rstoyanchev
a1165051eb Support method parameter annotations on interface
Closes gh-480
2022-09-09 12:25:10 +01:00
rstoyanchev
a7a78d9c6c Do not skip a graphql.validation wrapped DataFetcher
Closes gh-479
2022-09-09 11:14:08 +01:00
rstoyanchev
65be8ed35f Do not skip DataFetcherFactories
Closes gh-440
2022-09-09 06:17:20 +01:00
Brian Clozel
eb9226dad2 Merge branch '1.0.x' 2022-09-08 15:46:23 +02:00
Brian Clozel
471834782d Use target collection type for binding
This commit ensures that the `GraphQlArgumentBinder` is using the target
collection type (on the type we're binding to) to create a new
collection instance when using constructor binding.

Fixes gh-485
2022-09-08 15:44:36 +02:00
Brian Clozel
3dd42b5061 Upgrade to GraphQL Java 19.2
Closes gh-444
2022-09-08 13:46:04 +02:00
Brian Clozel
2fd456862d Upgrade to Gradle 7.5.1 2022-09-06 17:56:57 +02:00
Brian Clozel
4213dc4e13 Mark Context Propagation as a runtime dependency
This commit changes the configuration for the context-propagation
library from "compileOnly" to "implementation", as this is a required
dependency for our main module at runtime.

Fixes gh-482
2022-09-06 17:48:57 +02:00
rstoyanchev
f052a51307 Upgrade to Reactor 2022.0.0 snapshots 2022-09-06 12:37:46 +01:00
rstoyanchev
973fc567f3 Upgrade to Micrometer context-propagation snapshots
Closes gh-477
2022-09-06 12:33:56 +01:00
rstoyanchev
2b829dbe07 Polishing 2022-09-01 16:27:27 +01:00