rstoyanchev
4818ee6c81
Upgrade samples to match the GraphQlTest updates
...
See gh-310
2022-03-09 12:47:26 +00:00
rstoyanchev
19793a6e74
Revert "Pin version to 1.0.0-M5 in samples"
...
This reverts commit b40375f1f2 .
2022-03-09 08:57:10 +00:00
rstoyanchev
b40375f1f2
Pin version to 1.0.0-M5 in samples
...
This is necessary until Boot catches up with spring-graphql snapshots.
2022-03-07 10:39:59 +00:00
Brian Clozel
410e7e60ae
Revisit Gradle repositories configuration
2022-01-19 14:22:04 +01:00
Brian Clozel
a15fd29fc0
Remove Spring Boot Experimental Starter
...
The Experimental Spring Boot Starter for Spring GraphQL has been moved
to Spring Boot and will be released with Spring Boot 2.7.0.
Closes gh-207
2021-12-21 14:09:17 +01:00
Rossen Stoyanchev
6dabd7c212
Update docs and samples on "slice" tests
...
See gh-75
2021-10-28 12:29:24 +01:00
Rossen Stoyanchev
59d5458333
Update sample tests after test config improvements
...
See gh-75
2021-10-27 21:53:15 +01:00
Rossen Stoyanchev
20bae75ed8
Add WebSocketInterceptor
...
See gh-162
2021-10-20 21:21:31 +01:00
Rossen Stoyanchev
762b9f06c2
Support query files for input in GraphQlTester
...
Closes gh-67
2021-10-01 17:36:49 +01:00
Rossen Stoyanchev
892d2bd344
Use properties for Boot and GraphQL Java versions
2021-09-16 11:15:47 +01:00
Rossen Stoyanchev
1b72e8107d
Update Spring Boot version 2.5.0 -> 2.5.4
2021-09-16 10:21:45 +01:00
Rossen Stoyanchev
60e65078c2
Fix outdated links in README files
2021-08-31 07:44:10 +01:00
Rossen Stoyanchev
4bd229d4b9
Deprecate @GraphQlController in favor of @Controller
2021-08-30 14:56:01 +01:00
Rossen Stoyanchev
0d0b84dc8a
Support for annotated DataFetcher's
...
Closes gh-61, gh-90
2021-08-09 12:37:47 +01:00
Rossen Stoyanchev
0dbc3f12cd
Minor sample refactoring
2021-07-21 16:06:12 +01:00
Rossen Stoyanchev
69b2476231
Show config for test support in reference docs
...
Closes gh-96
2021-07-21 14:18:10 +01:00
Rossen Stoyanchev
27e883164f
Polishing websocket sample
2021-07-06 16:34:21 +01:00
Rossen Stoyanchev
72ee49269f
Polishing
2021-07-06 16:18:09 +01:00
Rossen Stoyanchev
69c2d08c71
Remove formatter-on/off comments
2021-07-06 15:51:50 +01:00
Rossen Stoyanchev
aea229778c
Add README files to samples
2021-07-06 15:35:23 +01:00
Rossen Stoyanchev
f17ae9307c
Extract schema handling and move into main spring-graphql module
2021-07-02 10:25:18 +01:00
Stephane Nicoll
9d4ebfe743
Polish
2021-06-30 15:44:24 +02:00
Rossen Stoyanchev
de234c94c4
Decouple GraphQlTester from Web details
...
Closes gh-65
2021-06-26 05:16:35 +01:00
Rossen Stoyanchev
43f9e34c81
Turn off auto-formatting where it reduces readability
2021-06-15 14:01:52 +01:00
Brian Clozel
f8b2ad552f
Refactor project build
...
This commit refactors the project build to better share dependency
management definitions between modules.
This also upgrades the project to Spring Boot 2.5.0.
Closes gh-45
2021-06-02 15:45:51 +02:00
Brian Clozel
53e2a379de
Reformat sample applications
...
Fixes gh-54
2021-06-02 14:30:00 +02:00
Rossen Stoyanchev
56917d8d83
ThreadLocal context propagation for DataFetcher's
...
The WebMvc starter now supports propagation of ThreadLocal values
extracted at the level of the HTTP handler.
Closes gh-53
2021-05-28 19:32:48 +01:00
Rossen Stoyanchev
484fb932ef
Replace QL with Ql for consistency with Spring naming
2021-05-14 21:32:54 +01:00
Brian Clozel
f70e552c6a
Change default schema location to /graphql/schema.graphqls
...
This commit changes the default location for the GraphQL schema from
`classpath:schema.graphqls` to `classpath:/graphql/schema.graphqls`.
We're also adding `.graphqlconfig` files that are leveraged by a GraphQL
JS plugin in IntelliJ IDEA.
Closes gh-44
2021-05-11 15:52:58 +02:00
Rossen Stoyanchev
f93c46eee3
WebInterceptor contract revision
...
WebInterceptor now uses delegation, forming a chain of interceptors
followed by a GraphQLService at the end to invoke graphql.GraphQL.
Closes gh-49
2021-04-30 21:26:26 +01:00
Rossen Stoyanchev
00b01ee524
Rename package for GraphQLTester
2021-04-26 21:59:52 +01:00
Rossen Stoyanchev
403019521c
Rename spring-graphql-web to spring-graphql
...
Re-purpose spring-graphql-web to be more general than just web and add
org.springframework.web as a top-level package for web support.
2021-04-26 21:42:36 +01:00
Rossen Stoyanchev
1e619263d2
Reactor DataFetcher support
...
Closes gh-47
2021-04-26 10:03:53 +01:00
Rossen Stoyanchev
0d52bfc207
Update samples to use GraphQLTester
...
See gh-43
2021-04-15 13:01:19 +01:00
Rossen Stoyanchev
645cf21f17
Update dependencies
2021-04-14 21:24:04 +01:00
Josh Long
d4fc091a43
Update SampleWiring.java
...
I think you meant to say 'ciao'
2021-02-17 00:43:00 -08:00
Rossen Stoyanchev
4e735f1ca8
Allow HTTP GET and WebSocket to use the same path
...
Closes gh-30
2021-02-05 21:07:27 +00:00
Brian Clozel
36121f338f
Enable WebSocket endpoint with config property
...
Prior to this commit, the WebSocket endpoint (MVC or WebFlux) would be
enabled by default. In the case of MVC, the presence of
`spring-websocket` and the required dependencies was an additional hint
that could enable/disable this support depending on the application.
This commit changes the websocket path configuration so that it doesn't
hold a default value anymore. Configuring this property will trigger the
WebSocket support.
Right now developers cannot configure it to be the same as the
`spring.graphql.path`, but this will be solved in #30 .
This commit also revisits the configuration properties namespace for
clarity, moving the websocket bits under their own section.
Closes gh-31
2021-02-02 15:27:00 +01:00
Andreas Marek
19f2693bdf
schema is not needed if the top level types are named Query/Mutation/Subscription
2021-01-19 07:36:59 +00:00
Andreas Marek
edcd801c8c
id is not required on every message (notably init)
2021-01-17 09:38:40 +11:00
Brian Clozel
633ee1a1b5
Refactor project structure
...
This commit refactors the project structure to regroup GraphQL web
support under the spring-graphql-web module, and move all the Spring
Boot support classes under a single graphql-spring-boot-starter one.
Right now, the starter module contains everything: classes for MVC,
WebFlux and Actuator support as well as required dependencies. We will
change that in the future.
2021-01-05 16:35:34 +01:00
Rossen Stoyanchev
2e32a06a55
Update to latest GraphQL over WebSocket protocol
2021-01-03 21:40:19 +00:00