Commit Graph

824 Commits

Author SHA1 Message Date
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
4db1a897e8 Merge branch '1.0.x' 2022-07-18 23:27:49 +02: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
8735c96591 Merge branch '1.0.x' 2022-07-08 16:20:52 +01:00
rstoyanchev
4dd13ed8e6 Fix issue with auto-registration for non-null types
Closes gh-418
2022-07-08 15:53:10 +01:00
rstoyanchev
0a61b256f5 Merge branch '1.0.x' 2022-07-05 15:13:27 +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
18ff1a0a05 Merge branch '1.0.x' 2022-07-05 08:51:20 +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
e522beaf5f Upgrade baseline to Java 17 and Jakarata EE 9
Closes gh-426
2022-06-24 15:07:42 +02:00
Brian Clozel
ae8c68d7d8 Create CI pipeline for 1.1.x generation
Closes gh-424
2022-06-24 15:05:23 +02:00
Brian Clozel
f3a2192f03 Switch to 1.1.0-SNAPSHOTs
See gh-424
2022-06-24 14:58:20 +02:00
Brian Clozel
59b0d76d8d Temporarily ignore samples
Spring for GraphQL auto-configuration is not supported yet in Spring
Boot 3.0 SNAPSHOTs, so we need to ignore Spring Boot samples until
SNAPSHOTs are produced.

See gh-424
2022-06-24 14:56:40 +02:00
Brian Clozel
c6e6f05a78 Merge branch '1.0.x' 2022-06-24 14:44:54 +02: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
b07a1df281 Merge branch '1.0.x' 2022-06-24 09:33:35 +01: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
Marcel Overdijk
d8c2babdde Add shouldPersistHeaders = true to GraphiQL options
This option allows GraphiQL to persist custom-defined HTTP headers
to local storage. This avoid developers to type those headers again each
time the page is refreshed.

Closes gh-257
2022-05-16 18:23:04 +02:00
rstoyanchev
ed8c27923f Fix cyclic dependencies and polishing 2022-05-16 11:58:36 +01:00
Brian Clozel
c2c6ae6547 Expose map of "extensions" in GraphQlRequest
This commit adds support for protocol, vendor specific protocol
extensions in the GraphQL client requests.

Closes gh-371
2022-05-16 11:32:32 +02:00
Brian Clozel
a2c038e933 Upgrade to oci-build-task 0.10.0 in CI 2022-05-16 11:32:18 +02:00
Brian Clozel
bd9d417c8a Fix Kotlin compiler configuration
The `-Xopt-in` option is now deprecated and replaced by `-opt-in`.
2022-05-16 11:31:04 +02:00
rstoyanchev
e083dc8615 Support Callable as a controller method return value
Closes gh-316
2022-05-16 04:09:12 +01:00
rstoyanchev
735da030e8 Refactoring in ReactorContextManager
Use GraphQLContext as input instead of ExecutionInput,
DataFetchingEnvironment and BatchLoaderEnvironment.

See gh-316
2022-05-16 04:08:42 +01:00
rstoyanchev
c43a444c78 Refactor use of sinks in WebSocketGraphQlTransport
Replace use of Sinks which does not deal with concurrent sending and
use MonoSink and FluxSink instead.

Closes gh-388
2022-05-13 13:59:39 +01:00
rstoyanchev
57e9ccbfd8 Upgrade to GraphQL Java 18.1 2022-05-13 03:02:30 +01:00
rstoyanchev
476df266f7 Revert "Temporarily disable samples"
This reverts commit c55ffb17c3.
2022-05-13 03:01:49 +01:00
rstoyanchev
b07e4fdd64 Avoid using JSONPath#getPath()
It does not return the original path and omits expressions.

Closes gh-377
2022-05-13 02:24:04 +01:00
rstoyanchev
8549060d19 Add start and stop for RSocket client and tester
Closes gh-378
2022-05-06 11:17:53 +01:00