@@ -19,7 +19,7 @@ and join the team!
19
19
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
20
20
** Table of Contents**
21
21
22
- - [ WARNING: NoClassDefFoundError when using GraphQL Java Tools > 5.4.x ] ( #warning-noclassdeffounderror-when-using-graphql-java-tools--54x )
22
+ - [ Quick start ] ( #quick-start )
23
23
- [ Using Gradle] ( #using-gradle )
24
24
- [ Using Maven] ( #using-maven )
25
25
- [ Documentation] ( #documentation )
@@ -45,21 +45,15 @@ and join the team!
45
45
- [ Extended scalars] ( #extended-scalars )
46
46
- [ Tracing and Metrics] ( #tracing-and-metrics )
47
47
- [ Usage] ( #usage )
48
+ - [ FAQs] ( #faqs )
49
+ - [ WARNING: NoClassDefFoundError when using GraphQL Java Tools > 5.4.x] ( #warning-noclassdeffounderror-when-using-graphql-java-tools--54x )
50
+
48
51
- [ Contributions] ( #contributions )
49
52
- [ Licenses] ( #licenses )
50
53
51
54
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
52
55
53
- ## WARNING: NoClassDefFoundError when using GraphQL Java Tools > 5.4.x
54
-
55
- If you're using ` graphql-java-tools ` in combination with Spring Boot 2.1.x or below then you need to
56
- set the
57
- ` kotlin.version ` in your Spring Boot project explicitly to version >= 1.3.70, because Spring Boot
58
- Starter parent of that Spring Boot version overrides it with a 1.2.* version of Kotlin.
59
- ` graphql-java-tools ` requires 1.3.* however because of its coroutine support. If you don't override
60
- this version you will run into a ` NoClassDefFoundError ` .
61
-
62
- Spring Boot team has indicated the Kotlin version will be upgraded to 1.3 in Spring Boot 2.2.
56
+ ## Quick start
63
57
64
58
### Using Gradle
65
59
@@ -79,24 +73,24 @@ Set the Kotlin version in your `<properties>` section
79
73
</properties >
80
74
```
81
75
82
- # Documentation
76
+ ## Documentation
83
77
84
78
See our new [ Documentation] ( https://www.graphql-java-kickstart.com/spring-boot/ ) .
85
79
86
80
Repository contains:
87
81
88
82
* ` graphql-spring-boot-starter ` to turn your boot application into GraphQL server (
89
83
see [ graphql-java-servlet] ( https://github.com/graphql-java-kickstart/graphql-java-servlet ) )
90
- * ` altair-spring-boot-starter ` to embed ` Altair ` tool for schema introspection and query debugging (
84
+ * ` altair-spring-boot-starter ` to embed ` Altair ` tool for schema introspection and query debugging (
91
85
see [ altair] ( https://github.com/imolorhe/altair ) )
92
- * ` graphiql-spring-boot-starter ` to embed ` GraphiQL ` tool for schema introspection and query
86
+ * ` graphiql-spring-boot-starter ` to embed ` GraphiQL ` tool for schema introspection and query
93
87
debugging (see [ graphiql] ( https://github.com/graphql/graphiql ) )
94
- * ` playground-spring-boot-starter ` to embed ` GraphQL Playground ` tool for schema introspection and
88
+ * ` playground-spring-boot-starter ` to embed ` GraphQL Playground ` tool for schema introspection and
95
89
query debugging (see [ GraphQL Playground] ( https://github.com/prisma/graphql-playground ) )
96
- * ` voyager-spring-boot-starter ` to embed ` Voyager ` tool for visually explore GraphQL APIs as an
90
+ * ` voyager-spring-boot-starter ` to embed ` Voyager ` tool for visually explore GraphQL APIs as an
97
91
interactive graph (see [ voyger] ( https://github.com/APIs-guru/graphql-voyager ) )
98
92
99
- # Requirements and Downloads
93
+ ## Requirements and Downloads
100
94
101
95
Requirements:
102
96
@@ -599,6 +593,22 @@ The following metrics are available for exposure:
599
593
* `graphql.websocket.sessions` - number of active websocket sessions for subscriptions
600
594
* `graphql.websocket.subscriptions` - number of active subscriptions
601
595
596
+
597
+ # # FAQs
598
+ # ## WARNING: NoClassDefFoundError when using GraphQL Java Tools > 5.4.x
599
+
600
+ If you're using `graphql-java-tools` in combination with Spring Boot 2.1.x or below then you need to
601
+ set the
602
+ ` kotlin.version` in your Spring Boot project explicitly to version >= 1.3.70, because Spring Boot
603
+ Starter parent of that Spring Boot version overrides it with a 1.2.* version of Kotlin.
604
+ ` graphql-java-tools` requires 1.3.* however because of its coroutine support. If you don't override
605
+ this version you will run into a `NoClassDefFoundError`.
606
+
607
+ Spring Boot team has indicated the Kotlin version will be upgraded to 1.3 in Spring Boot 2.2.
608
+
609
+
610
+
611
+
602
612
# Contributions
603
613
604
614
Contributions are welcome. Please respect
0 commit comments