Commit Graph

709 Commits

Author SHA1 Message Date
rstoyanchev
89a7145c03 Polishing contribution
Closes gh-367
2022-11-17 11:56:15 +00:00
kuraun
a927159410 Add mutationUpdateSalaryTest
Fixed the attribute value salary of UpdateSalaryInput of schema.graphqls
to the name of SalaryInput object. Also enabled @Secured.

See gh-367
2022-11-17 11:53:50 +00:00
rstoyanchev
5905f02bd6 Deprecate ResponseField getError and hasValue
See gh-499
2022-11-04 11:01:58 +00:00
Johan Wigert
6004937ad2 Fix typo in Javadoc of GraphQlTester
Closes gh-523
2022-11-04 07:24:34 +00:00
rstoyanchev
02f96b6bf4 Raise exception for any field error in retrieve
This commit aligns the behavior of retrieve with its Javadoc such that
any field error, including errors on nested fields, raises a
FieldAccessException

Closes gh-499
2022-11-04 06:36:15 +00:00
rstoyanchev
11fab7dafd Polishing
See gh-449
2022-10-19 09:07:53 +01:00
rstoyanchev
d38ffeae6b Consistent raw value handling in GraphQlArgumentBinder
This commit ensures a single method is used to bind raw values,
whether those a top level argument value, or a value nested within a
collection or map.

See gh-449
2022-10-19 06:06:57 +01:00
rstoyanchev
bc8ee162f9 Minor refactoring in GraphQlArgumentBinder
See gh-449
2022-10-19 06:06:57 +01:00
rstoyanchev
9be5a95948 Support binding to Map as target value
Before this commit, we supported binding to a higher level object,
or a scalar, or a List of either, but not to a Map of either, which
requires similar support as what we have for a List, i.e. creating
the target Map and populating it in a recursive manner.

This commit adds that support.

Closes gh-449
2022-10-19 06:06:57 +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
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
Spring Builds
33ec463f23 Next development version (v1.0.3-SNAPSHOT) 2022-09-20 13:18:32 +00: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
4de39f0d0f Upgrade optional dependencies 2022-09-20 11:35:01 +02: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
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
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
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
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
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
c12b46fc11 Replace dependency management plugin with Gradle platform support 2022-09-01 11:43:31 +02:00
Brian Clozel
666a4fe60d Upgrade to GraphQL Java 18.3
Closes gh-456
2022-08-01 10:02:26 +02:00
Spring Builds
8c442e6732 Next development version (v1.0.2-SNAPSHOT) 2022-07-20 15:16:45 +00:00
张天赐
8ce2622d6c Use Gradle Toolchain in build
Closes gh-442
2022-07-20 16:09:01 +02:00
Brian Clozel
59e31e1350 Fix JDK 8 URL in CI image setup 2022-07-20 15:19:41 +02:00
Brian Clozel
92ba608141 Upgrade optional dependencies in build 2022-07-20 14:38:43 +02:00
Brian Clozel
e87507be85 Upgrade to GraphQL Java 18.2
Closes gh-446
2022-07-20 14:34:00 +02:00
rstoyanchev
a588dd5c5b Update Javadoc on GraphQlClient#retrieve
Closes gh-434
2022-07-19 16:29:37 +01:00
rstoyanchev
2e22dce04a Fix links and improve docs for exposing WebSocket endpoint
Closes gh-436
2022-07-19 16:29:37 +01:00
Brian Clozel
174b77b032 Redirect GraphiQL clients with servlet path
This commit ensures that both servlet context and servlet paths are
taken into account when generating URL paths to the GraphQL HTTP and WS
endpoints.

Fixes gh-402
2022-07-19 14:25:57 +02:00
rstoyanchev
b947554123 Update documentation for SubscriptionExceptionResolver
Closes gh-398
2022-07-19 13:04:11 +01:00
rstoyanchev
05ebd63233 SubscriptionExceptionResolver supports context propagation
See gh-398
2022-07-19 12:48:49 +01:00
rstoyanchev
a5809e95df Polishing contribution
See gh-398
2022-07-19 11:44:11 +01:00
Nikita Ivchenko
a7e68d35a2 Add SubscriptionExceptionResolver
See gh-398
2022-07-19 11:44:11 +01:00
Brian Clozel
96f158b682 Configure auto grow collection limit in DataBinder
Prior to this commit, the `GraphQlArgumentBinder` would use the default
`DataBinder` configuration, including its
`DEFAULT_AUTO_GROW_COLLECTION_LIMIT` which is 256. While this is a
sensible default value for many use cases, GraphQL applications are data
oriented.

This commit configures a larger default for GraphQL applications at
1024. This also provides a way to configure the underlying data binder
before the binding proces starts.

Closes gh-392
2022-07-18 22:51:08 +02:00
rstoyanchev
4dd13ed8e6 Fix issue with auto-registration for non-null types
Closes gh-418
2022-07-08 15:53:10 +01:00