Commit Graph

817 Commits

Author SHA1 Message Date
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
Brian Clozel
304b3afd3b Merge branch '1.0.x' 2022-09-01 14:27:28 +02:00
Brian Clozel
c12b46fc11 Replace dependency management plugin with Gradle platform support 2022-09-01 11:43:31 +02:00
rstoyanchev
26a791e1e2 Add alternative to deprecated asWebSocketHttpRequestHandler 2022-09-01 10:04:12 +01:00
rstoyanchev
4868ab4d49 Temporarily revert to Micrometer context-propagation M4
See gh-459
2022-09-01 08:44:16 +01:00
rstoyanchev
fe7eb1d649 Update docs for context propagation
Closes gh-459
2022-08-31 21:46:18 +01:00
rstoyanchev
f5e710372b Remove built-in ThreadLocalAccessor
The ThreadLocalAccessor in 1.0 was intended as a temporary solution
that is now replaced by a similar contract in the
`io.micrometer:context-propagation` library.

Unfortunately, there is no way to adapt one to the other, but
it is trivial to implement the new contract and register it either with
`ContextRegistry#getInstance` on startup or through the
`ServiceLoader` mechanism.

See gh-459
2022-08-31 21:33:19 +01:00
rstoyanchev
f680892dfc Switch to io.micrometer:context-propagation library
See gh-459
2022-08-31 21:29:11 +01:00
Rossen Stoyanchev
f583eb302c Fix deprecation warnings for Spring Data ClassTypeInformation 2022-08-09 16:26:23 +03:00
Rossen Stoyanchev
3d11351ae3 Upgrade to the latest milestones 2022-08-09 16:01:52 +03:00
Brian Clozel
40c354a84c Upgrade to GraphQL Java 19.0
This new release makes the request `Locale` mandatory.

Closes gh-444
2022-08-01 10:46:28 +02:00
Brian Clozel
ea140410bd Merge branch '1.0.x' 2022-08-01 10:02:58 +02:00
Brian Clozel
666a4fe60d Upgrade to GraphQL Java 18.3
Closes gh-456
2022-08-01 10:02:26 +02:00
Brian Clozel
63184715af Merge branch '1.0.x' 2022-07-20 17:45:21 +02:00
Spring Builds
8c442e6732 Next development version (v1.0.2-SNAPSHOT) 2022-07-20 15:16:45 +00:00
Brian Clozel
355f32213a Merge branch '1.0.x' 2022-07-20 16:12:30 +02:00
张天赐
8ce2622d6c Use Gradle Toolchain in build
Closes gh-442
2022-07-20 16:09:01 +02:00
Brian Clozel
788f0ef155 Merge branch '1.0.x' 2022-07-20 15:30:22 +02:00
Brian Clozel
59e31e1350 Fix JDK 8 URL in CI image setup 2022-07-20 15:19:41 +02:00
Brian Clozel
f8e1ebf5f6 Merge branch '1.0.x' 2022-07-20 14:39:01 +02:00
Brian Clozel
92ba608141 Upgrade optional dependencies in build 2022-07-20 14:38:43 +02:00
Brian Clozel
8d686a0ac4 Merge branch '1.0.x' 2022-07-20 14:36:40 +02:00
Brian Clozel
e87507be85 Upgrade to GraphQL Java 18.2
Closes gh-446
2022-07-20 14:34:00 +02:00
rstoyanchev
f813040a5d Merge branch '1.0.x' 2022-07-19 16:30:09 +01: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
284b6d749b Merge branch '1.0.x' 2022-07-19 14:32:03 +02: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
e6599ee042 Merge branch '1.0.x' 2022-07-19 13:05:02 +01: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
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