Commit Graph

1570 Commits

Author SHA1 Message Date
Josh Allen
d3ff9687eb Exempt unresolvable federated entities from checks
Update check ensuring federated types have @EntityMapping
to exempt entities with 'resolvable: false', since by definition
those should not have an @EntityMapping.

See gh-1225

Signed-off-by: Josh Allen <joshuapaulallen@gmail.com>
2025-05-29 16:45:53 +01:00
do.vantrinh
1f9a21e6ba Remove redundant interface declaration
WebGraphQlRequest already implements ExecutionGraphQlRequest through
its parent class DefaultExecutionGraphQlRequest, making the explicit
interface declaration redundant.

See gh-1218

Signed-off-by: do.vantrinh <do.vantrinh@moneyforward.co.jp>
2025-05-29 16:43:18 +01:00
rstoyanchev
a5c25b815f Fix nested parameter names in QuerydslDataFetcher
Closes: gh-1215
2025-05-29 16:24:07 +01:00
rstoyanchev
831357be01 Polishing contribution
Closes: gh-1196
2025-05-29 15:03:00 +01:00
Dennis
fbd114bd10 Add toString() method in ArgumentValue
See gh-1196

Signed-off-by: Dennis Griese <d.griese1987@gmail.com>
2025-05-29 15:02:59 +01:00
Brian Clozel
46df905acd Switch to 1.4.x branch 2025-05-20 15:58:29 +02:00
Brian Clozel
2d9f64bdc0 Next development version (v1.4.1-SNAPSHOT) 2025-05-20 10:56:57 +02:00
Brian Clozel
2c84724aea Use AssertJ BOM 2025-05-20 10:02:35 +02:00
Brian Clozel
17e1f1291a Upgrade to testcontainers 1.21.0 2025-05-20 10:02:16 +02:00
Brian Clozel
10490c21b9 Upgrade to DGS Codegen 8.0.4
Closes gh-1217
2025-05-20 09:53:20 +02:00
Brian Clozel
331772775b Upgrade to Apollo GraphQL Federation 5.4.0
Closes gh-1216
2025-05-20 09:52:51 +02:00
Brian Clozel
bbc174ce1f Upgrade to Spring Security 6.5.0
Closes gh-1183
2025-05-20 09:19:43 +02:00
Brian Clozel
ac5f3ef6c7 Upgrade to Spring Data 2025.0.0
Closes gh-1181
2025-05-20 09:18:37 +02:00
Brian Clozel
7e602f093e Merge branch '1.3.x' 2025-05-16 18:16:02 +02:00
Brian Clozel
e17903051c Inject prepared GraphqlErrorBuilder in error handling methods
Prior to this commit, error handling methods would support various
arguments, including the exception being handled.
Our reference documentation would advise to create a new instance of a
`GraphQLError` using `GraphQLError.newError()`. This does not initialize
the location and path information of the current error.

This commit allows error handling methods to get injected with a
`GraphQlErrorBuilder<?>` argument that is initialized with the current
`DataFetchingEnvironment` (thus filling the location and path parts).

Fixes gh-1200
2025-05-16 18:09:42 +02:00
rstoyanchev
175cf6fbc2 Fix compile error in test 2025-05-16 08:57:02 +01:00
rstoyanchev
705c283bfa Merge branch '1.3.x' 2025-05-16 08:48:40 +01:00
rstoyanchev
518617dd34 Lenient adapt non-Publisher subscription result
Closes gh-1213
2025-05-16 08:48:13 +01:00
Brian Clozel
41e2a2fed1 Upgrade to Spring Framework 6.2.7
Closes gh-1214
2025-05-16 09:31:58 +02:00
Brian Clozel
5747def15b Upgrade to GraphQL Java 24.0
This commit sets the new GraphQL Java baseline to 24.0 for this Spring
for GraphQL generation.

This also uses the new `DataLoader#getName` property in the batch loader
registry and the observability instrumentation.

Closes gh-1210
Closes gh-1211
2025-05-16 09:27:24 +02:00
Brian Clozel
998ba45fb5 Upgrade to Reactor 2024.0.6
Closes gh-1212
2025-05-14 11:23:55 +02:00
Brian Clozel
cb26ad381c Upgrade to Micrometer 1.15.0
Closes gh-1182
2025-05-13 17:27:04 +02:00
Brian Clozel
20142fc4de Merge branch '1.3.x' 2025-05-12 11:50:43 +02:00
Brian Clozel
ce9472fdd9 Upgrade to GraphiQL 4.0.0
Closes gh-1209
2025-05-12 11:50:14 +02:00
Brian Clozel
a3272085d1 Upgrade to Gradle 8.14 2025-05-06 09:41:30 +02:00
Brian Clozel
190c72ea0c Upgrade SDKMan! Java version to 17.0.15 2025-05-06 09:41:04 +02:00
Brian Clozel
e0bffeb819 Upgrade GitHub actions 2025-05-06 09:33:30 +02:00
Brian Clozel
a672d59d69 Merge branch '1.3.x' 2025-05-02 18:25:10 +02:00
Alexander Münch
719281175f Fix typo in SchemaMappingInspector Javadoc
Closes gh-1195

Signed-off-by: Alexander Münch <theHacker@users.noreply.github.com>
2025-05-02 18:20:43 +02:00
Brian Clozel
2ce7bfca7b Merge branch '1.3.x' 2025-05-02 18:15:18 +02:00
Patrick Strawderman
d30429fe86 Fix dropping of extensions in ContextDataFetcherDecorator
ContextDataFetcherDecorator was not retaining extensions for DataFetchers returning
a DataFetcherResult instance.

Closes gh-1199

Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com>
[brian.clozel@broadcom.com: apply code conventions]
Signed-off-by: Brian Clozel <brian.clozel@broadcom.com>
2025-05-02 18:13:44 +02:00
Brian Clozel
ae40015283 Merge branch '1.3.x' 2025-04-17 16:18:14 +02:00
Brian Clozel
ccf9f8ab7f Next development version (v1.3.6-SNAPSHOT) 2025-04-17 16:18:02 +02:00
Brian Clozel
6014970511 Upgrade to JUnit 5.12.2 2025-04-17 15:57:03 +02:00
rstoyanchev
cea4e08011 Polishing in SelfDescribingDataFetcher 2025-04-17 14:48:32 +01:00
Brian Clozel
7b728feaf3 Upgrade to Spring Framework 6.2.6
Closes gh-1178
2025-04-17 15:16:49 +02:00
Brian Clozel
530c37fee2 Merge branch '1.3.x' 2025-04-17 15:13:05 +02:00
Brian Clozel
c9a52cfb89 Upgrade to Context Propagation 1.1.3
Closes gh-1194
2025-04-17 15:10:47 +02:00
Brian Clozel
756b0c13ac Upgrade to Micrometer 1.13.13
Closes gh-1193
2025-04-17 15:10:26 +02:00
Brian Clozel
680534e6ef Upgrade to Reactor 2023.0.17
Closes gh-1192
2025-04-17 15:09:58 +02:00
Brian Clozel
ec0a9c37c4 Upgrade to Spring Framework 6.1.19
Closes gh-1191
2025-04-17 15:09:13 +02:00
rstoyanchev
2259a005f8 Polishing in GraphQlArgumentBinder 2025-04-17 10:44:44 +01:00
Brian Clozel
450cef197f Merge branch '1.3.x' 2025-04-15 22:33:50 +02:00
Brian Clozel
6ddaeadbd5 Fix codegen documentation section
Closes gh-1188
2025-04-15 22:33:28 +02:00
Brian Clozel
0293299c08 Attempt properties binding after constructor
Prior to this commit, the `GraphQlArgumentBinder` would choose between
two strategies:
* if there is a constructor with arguments, instantiate the target and
  bind it using the constructor
* otherwise, use the default constructor and use bean properties binding

This commit extends the first case and attempts to further bind bean
properties after constructor instantiation.

Closes gh-1163
2025-04-15 21:14:57 +02:00
Brian Clozel
12871a0703 Upgrade to GraphQL Java 23.1
Closes gh-1169
2025-04-15 14:07:54 +02:00
Brian Clozel
ac9616fd9f Revert ArgumentValue->FieldValue changes
See gh-1187
See gh-1190
See gh-1174
2025-04-15 12:02:29 +02:00
Brian Clozel
179929a298 Upgrade to Reactor 2024.0.5
Closes gh-1179
2025-04-15 11:57:19 +02:00
Brian Clozel
18b7b86913 Upgrade to Micrometer 1.15.0-RC1
Closes gh-1180
2025-04-15 11:56:16 +02:00
Brian Clozel
4c70199993 Merge branch '1.3.x' 2025-04-15 11:54:27 +02:00