Skip to content

Commit e4099f9

Browse files
committed
Merge branch 'master' into dependabot/npm_and_yarn/semver-5.7.2
2 parents d8dcc69 + 5d13ffb commit e4099f9

9 files changed

Lines changed: 160 additions & 38 deletions

File tree

documentation/getting-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repositories {
2525
}
2626
2727
dependencies {
28-
implementation 'com.graphql-java:graphql-java:21.0'
28+
implementation 'com.graphql-java:graphql-java:21.3'
2929
}
3030
```
3131
</TabItem>
@@ -38,7 +38,7 @@ repositories {
3838
}
3939

4040
dependencies {
41-
implementation("com.graphql-java:graphql-java:21.0")
41+
implementation("com.graphql-java:graphql-java:21.3")
4242
}
4343
```
4444
</TabItem>
@@ -51,7 +51,7 @@ Dependency:
5151
<dependency>
5252
<groupId>com.graphql-java</groupId>
5353
<artifactId>graphql-java</artifactId>
54-
<version>21.0</version>
54+
<version>21.3</version>
5555
</dependency>
5656
```
5757

documentation/subscriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ GraphQL graphQL = GraphQL
5959

6060
String query = "" +
6161
" subscription StockCodeSubscription {\n" +
62-
" stockQuotes(stockCode:\"IBM') {\n" +
62+
" stockQuotes(stockCode:\"IBM\") {\n" +
6363
" dateTime\n" +
6464
" stockCode\n" +
6565
" stockPrice\n" +

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const config = {
2525
routeBasePath: 'documentation',
2626
sidebarPath: require.resolve('./sidebars.js'),
2727
editUrl: 'https://github.com/graphql-java/graphql-java-page/edit/master/',
28-
lastVersion: "v20",
28+
lastVersion: "v21",
2929
versions: {
3030
current: {
3131
label: "master",

src/pages/tutorials/getting-started-with-spring-boot.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ id: tutorial-getting-started
77

88
In this tutorial, you will create a GraphQL server in Java using [Spring for GraphQL](https://docs.spring.io/spring-graphql/docs/current/reference/html/). It requires a little Spring and Java knowledge. While we give a brief introduction to GraphQL, the focus of this tutorial is developing a GraphQL server in Java.
99

10+
If you're looking to learn more after this tutorial, we (the maintainers) have written a book! [**GraphQL with Java and Spring**](https://leanpub.com/graphql-java) includes everything you need to know to build a production ready GraphQL service with Spring for GraphQL, the official Spring integration built on top of the GraphQL Java engine. It's available on [Leanpub](https://leanpub.com/graphql-java) and [Amazon](https://www.amazon.com/GraphQL-Java-Spring-Andreas-Marek-ebook/dp/B0C96ZYWPF/).
11+
1012
## A very short introduction to GraphQL
1113

1214
GraphQL is a query language to retrieve data from a server. It is an alternative to REST, SOAP or gRPC.
@@ -145,7 +147,7 @@ type Author {
145147
}
146148
```
147149

148-
This schema defines one top level field (in the type `Query`): `bookById` which returns the details of a specific book.
150+
This schema defines one top level field (in the type `Query`): `bookById` which returns the details of a specific book.
149151

150152
It also defines the type `Book` which has the fields: `id`, `name`, `pageCount` and `author`.
151153
`author` is of type `Author`, which is defined after `Book`.
@@ -301,6 +303,11 @@ We have built a GraphQL server and run our first query!
301303
With the help of Spring for GraphQL features, we were able to achieve this with only a few lines of code.
302304

303305
## Further reading
306+
### Book
307+
If you want to learn more, we have written a book! [**GraphQL with Java and Spring**](https://leanpub.com/graphql-java) includes everything you need to know to build a production ready GraphQL service with Spring for GraphQL and GraphQL Java.
308+
309+
Learn first-hand from the founder of GraphQL Java and co-author of Spring for GraphQL. The book is suitable for beginners and also includes advanced topics for intermediate readers. The book is available on [Leanpub](https://leanpub.com/graphql-java) and [Amazon](https://www.amazon.com/GraphQL-Java-Spring-Andreas-Marek-ebook/dp/B0C96ZYWPF/).
310+
304311
### Sample source code
305312
The source code for this tutorial can be found on [GitHub](https://github.com/graphql-java/tutorials).
306313

versioned_docs/version-v20/getting-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repositories {
2525
}
2626
2727
dependencies {
28-
implementation 'com.graphql-java:graphql-java:20.4'
28+
implementation 'com.graphql-java:graphql-java:20.7'
2929
}
3030
```
3131
</TabItem>
@@ -38,7 +38,7 @@ repositories {
3838
}
3939

4040
dependencies {
41-
implementation("com.graphql-java:graphql-java:20.4")
41+
implementation("com.graphql-java:graphql-java:20.7")
4242
}
4343
```
4444
</TabItem>
@@ -51,7 +51,7 @@ Dependency:
5151
<dependency>
5252
<groupId>com.graphql-java</groupId>
5353
<artifactId>graphql-java</artifactId>
54-
<version>20.4</version>
54+
<version>20.7</version>
5555
</dependency>
5656
```
5757

versioned_docs/version-v20/subscriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ GraphQL graphQL = GraphQL
5959

6060
String query = "" +
6161
" subscription StockCodeSubscription {\n" +
62-
" stockQuotes(stockCode:\"IBM') {\n" +
62+
" stockQuotes(stockCode:\"IBM\") {\n" +
6363
" dateTime\n" +
6464
" stockCode\n" +
6565
" stockPrice\n" +

versioned_docs/version-v21/getting-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repositories {
2525
}
2626
2727
dependencies {
28-
implementation 'com.graphql-java:graphql-java:21.0'
28+
implementation 'com.graphql-java:graphql-java:21.3'
2929
}
3030
```
3131
</TabItem>
@@ -38,7 +38,7 @@ repositories {
3838
}
3939

4040
dependencies {
41-
implementation("com.graphql-java:graphql-java:21.0")
41+
implementation("com.graphql-java:graphql-java:21.3")
4242
}
4343
```
4444
</TabItem>
@@ -51,7 +51,7 @@ Dependency:
5151
<dependency>
5252
<groupId>com.graphql-java</groupId>
5353
<artifactId>graphql-java</artifactId>
54-
<version>21.0</version>
54+
<version>21.3</version>
5555
</dependency>
5656
```
5757

versioned_docs/version-v21/subscriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ GraphQL graphQL = GraphQL
5959

6060
String query = "" +
6161
" subscription StockCodeSubscription {\n" +
62-
" stockQuotes(stockCode:\"IBM') {\n" +
62+
" stockQuotes(stockCode:\"IBM\") {\n" +
6363
" dateTime\n" +
6464
" stockCode\n" +
6565
" stockPrice\n" +

0 commit comments

Comments
 (0)