Commit Graph

686 Commits

Author SHA1 Message Date
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
rstoyanchev
65cd5bfb49 Update docs on web interception
Closes gh-428
2022-07-05 15:12:48 +01:00
rstoyanchev
0951f879dc Improve error messages in SourceMethodArgumentResolver
Closes gh-429
2022-07-05 14:32:45 +01:00
rstoyanchev
28e3a8c9a3 Relax List input check in GraphQlArgumentBinder
Allow any List type, not only ArrayList and LinkedList but also others
like SingletonList.

Fixes gh-410
2022-07-05 07:34:14 +01:00
rstoyanchev
e173bef291 Move GraphQlArgumentBinderTests to correct package 2022-07-05 07:34:07 +01:00
rstoyanchev
90e2394573 Remove ThreadLocal in GraphQlArgumentBinderTests 2022-07-05 07:33:48 +01:00
Brian Clozel
16a3dd29b3 Switch CI pipeline to using the 1.0.x branch
See gh-424
2022-06-24 14:39:45 +02:00
rstoyanchev
8769501765 Fix outdated sentence in the Overview section 2022-06-24 09:32:56 +01:00
Jerome Prinet
0af85f1fa3 Update Gradle Enterprise plugin 2022-06-23 08:58:36 +01:00
Brian Clozel
e4e9987e3c Upgrade OS and Java versions in CI image
This commit also switches to Bellsoft Java builds.
2022-06-13 20:59:17 +02:00
justy
0f06183ca3 fix typo in index.adoc 2022-06-10 16:41:00 +01:00
Jake Son
8542ef4459 Fix wrong file path in README 2022-06-10 16:40:19 +01:00
Brian Clozel
a9e4324562 Fix CI build status badge in README
The CI pipeline has been renamed to spring-graphql-1.0.x.
2022-05-18 17:04:33 +02:00
Brian Clozel
b1b44946db Fix git tag name resource in CI pipeline
Prior to this commit, the git tag used for the GitHub release generation
was missing the "v" prefix.
2022-05-18 16:58:05 +02:00
Brian Clozel
6dc2b05616 Fix GitHub changelog generation in CI pipeline
There were missing variables in the task.
2022-05-18 16:57:36 +02:00
Brian Clozel
11480dae28 Rename pipeline to spring-graphql-1.0.x 2022-05-18 16:57:03 +02:00
Spring Builds
ad6bc30eba Next development version (v1.0.1-SNAPSHOT) 2022-05-18 14:23:25 +00:00
Brian Clozel
1211425d9d Add configuration for signing artifacts in CI pipeline 2022-05-18 16:08:18 +02:00
Brian Clozel
86736542df Do not push docs artifacts to Maven Central 2022-05-18 16:08:18 +02:00
Brian Clozel
391690e5e9 Revert to 1.0.0-SNAPSHOT 2022-05-18 16:08:07 +02:00
Spring Builds
5a23aa8851 Next development version (v1.0.1-SNAPSHOT) 2022-05-18 12:18:54 +00:00
Brian Clozel
e268157909 Add MANIFEST entries in published Jars
Closes gh-391
2022-05-18 12:04:46 +02:00
Brian Clozel
26c5cf0265 Align dependency management with Spring Boot 2.7.0 2022-05-17 16:06:58 +02:00
Brian Clozel
29dcded549 Polish
See gh-371
2022-05-17 09:01:58 +02:00