Skip to content

Commit 6e9c39e

Browse files
committed
1 parent e68aa24 commit 6e9c39e

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Create a Gradle build file Make sure mavenCentral is among your repositories. Th
44
Java 8 Spring Boot > 2.x.x (spring-boot-starter-web) Quick start To add graphql-spring-boot to your project and get started quickly, do the following.
55
Build with Gradle Make sure mavenCentral is amongst your repositories:
66
repositories { mavenCentral() } Add the respective starter dependencies you want to use:
7-
dependencies { implementation &amp;#39;com.graphql-java-kickstart:graphql-spring-boot-starter:12.0.0&amp;#39; // testing facilities testImplementation &amp;#39;com.graphql-java-kickstart:graphql-spring-boot-starter-test:12.0.0&amp;#39; } Build with Maven Add the respective starter dependencies you want to use:</description></item><item><title>Getting started</title><link>https://www.graphql-java-kickstart.com/tools/getting-started/</link><pubDate>Wed, 07 Nov 2018 00:11:02 +0100</pubDate><guid>https://www.graphql-java-kickstart.com/tools/getting-started/</guid><description>A working Java Spring-Boot application is provided, based off the Star Wars API tests and test data. If you&amp;rsquo;re using Spring Boot, check out the graphql-spring-boot-starter!
7+
dependencies { implementation &amp;#39;com.graphql-java-kickstart:graphql-spring-boot-starter:13.0.0&amp;#39; // testing facilities testImplementation &amp;#39;com.graphql-java-kickstart:graphql-spring-boot-starter-test:13.0.0&amp;#39; } Build with Maven Add the respective starter dependencies you want to use:</description></item><item><title>Getting started</title><link>https://www.graphql-java-kickstart.com/tools/getting-started/</link><pubDate>Wed, 07 Nov 2018 00:11:02 +0100</pubDate><guid>https://www.graphql-java-kickstart.com/tools/getting-started/</guid><description>A working Java Spring-Boot application is provided, based off the Star Wars API tests and test data. If you&amp;rsquo;re using Spring Boot, check out the graphql-spring-boot-starter!
88
A working Kotlin example can be found in the tests.
99
Quick start To add graphql-java-tools to your project and get started quickly, do the following.
1010
Build with Gradle Make sure mavenCentral is amongst your repositories:

servlet/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
mavenCentral<span style=color:#f92672>()</span>
2020
<span style=color:#f92672>}</span>
2121
</code></pre></div><p>Add the <code>graphql-java-servlet</code> dependency:</p><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-gradle data-lang=gradle>dependencies <span style=color:#f92672>{</span>
22-
compile <span style=color:#e6db74>&#39;com.graphql-java-kickstart:graphql-java-servlet:12.0.0&#39;</span>
22+
compile <span style=color:#e6db74>&#39;com.graphql-java-kickstart:graphql-java-servlet:13.0.0&#39;</span>
2323
<span style=color:#f92672>}</span>
2424
</code></pre></div><h3 id=build-with-maven>Build with Maven</h3><p>Add the <code>graphql-java-servlet</code> dependency:</p><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=color:#f92672>&lt;dependency&gt;</span>
2525
<span style=color:#f92672>&lt;groupId&gt;</span>com.graphql-java-kickstart<span style=color:#f92672>&lt;/groupId&gt;</span>
2626
<span style=color:#f92672>&lt;artifactId&gt;</span>graphql-java-servlet<span style=color:#f92672>&lt;/artifactId&gt;</span>
27-
<span style=color:#f92672>&lt;version&gt;</span>12.0.0<span style=color:#f92672>&lt;/version&gt;</span>
27+
<span style=color:#f92672>&lt;version&gt;</span>13.0.0<span style=color:#f92672>&lt;/version&gt;</span>
2828
<span style=color:#f92672>&lt;/dependency&gt;</span>
2929
</code></pre></div><h3 id=create-a-servlet-class>Create a Servlet class</h3><p>Creating the Servlet class requires various parameters to be provided at the moment. We&rsquo;re working on simplifying
3030
this, to make it easier to get started. For now, take a look at <a href=https://www.graphql-java-kickstart.com/servlet/getting-started/#create-a-servlet-class>Create a Servlet class</a>

spring-boot/getting-started/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010
mavenCentral<span style=color:#f92672>()</span>
1111
<span style=color:#f92672>}</span>
1212
</code></pre></div><p>Add the respective starter dependencies you want to use:</p><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-gradle data-lang=gradle>dependencies <span style=color:#f92672>{</span>
13-
implementation <span style=color:#e6db74>&#39;com.graphql-java-kickstart:graphql-spring-boot-starter:12.0.0&#39;</span>
13+
implementation <span style=color:#e6db74>&#39;com.graphql-java-kickstart:graphql-spring-boot-starter:13.0.0&#39;</span>
1414

1515
<span style=color:#75715e>// testing facilities
16-
</span><span style=color:#75715e></span> testImplementation <span style=color:#e6db74>&#39;com.graphql-java-kickstart:graphql-spring-boot-starter-test:12.0.0&#39;</span>
16+
</span><span style=color:#75715e></span> testImplementation <span style=color:#e6db74>&#39;com.graphql-java-kickstart:graphql-spring-boot-starter-test:13.0.0&#39;</span>
1717
<span style=color:#f92672>}</span>
1818
</code></pre></div><h3 id=build-with-maven>Build with Maven</h3><p>Add the respective starter dependencies you want to use:</p><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=color:#f92672>&lt;dependency&gt;</span>
1919
<span style=color:#f92672>&lt;groupId&gt;</span>com.graphql-java-kickstart<span style=color:#f92672>&lt;/groupId&gt;</span>
2020
<span style=color:#f92672>&lt;artifactId&gt;</span>graphql-spring-boot-starter<span style=color:#f92672>&lt;/artifactId&gt;</span>
21-
<span style=color:#f92672>&lt;version&gt;</span>12.0.0<span style=color:#f92672>&lt;/version&gt;</span>
21+
<span style=color:#f92672>&lt;version&gt;</span>13.0.0<span style=color:#f92672>&lt;/version&gt;</span>
2222
<span style=color:#f92672>&lt;/dependency&gt;</span>
2323

2424
<span style=color:#75715e>&lt;!-- testing facilities --&gt;</span>
2525
<span style=color:#f92672>&lt;dependency&gt;</span>
2626
<span style=color:#f92672>&lt;groupId&gt;</span>com.graphql-java-kickstart<span style=color:#f92672>&lt;/groupId&gt;</span>
2727
<span style=color:#f92672>&lt;artifactId&gt;</span>graphql-spring-boot-starter-test<span style=color:#f92672>&lt;/artifactId&gt;</span>
28-
<span style=color:#f92672>&lt;version&gt;</span>12.0.0<span style=color:#f92672>&lt;/version&gt;</span>
28+
<span style=color:#f92672>&lt;version&gt;</span>13.0.0<span style=color:#f92672>&lt;/version&gt;</span>
2929
<span style=color:#f92672>&lt;scope&gt;</span>test<span style=color:#f92672>&lt;/scope&gt;</span>
3030
<span style=color:#f92672>&lt;/dependency&gt;</span>
3131
</code></pre></div><h2 id=using-the-latest-development-build>Using the latest development build</h2><p>Snapshot versions of the current <code>master</code> branch are available on JFrog. Check the next snapshot version on

spring-boot/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Java 8 Spring Boot &amp;gt; 2.x.x (spring-boot-starter-web) Quick start To add graphql-spring-boot to your project and get started quickly, do the following.
33
Build with Gradle Make sure mavenCentral is amongst your repositories:
44
repositories { mavenCentral() } Add the respective starter dependencies you want to use:
5-
dependencies { implementation &amp;#39;com.graphql-java-kickstart:graphql-spring-boot-starter:12.0.0&amp;#39; // testing facilities testImplementation &amp;#39;com.graphql-java-kickstart:graphql-spring-boot-starter-test:12.0.0&amp;#39; } Build with Maven Add the respective starter dependencies you want to use:</description></item><item><title>Type Definition Factory</title><link>https://www.graphql-java-kickstart.com/spring-boot/type-definition-factory/</link><pubDate>Wed, 07 Nov 2018 00:11:02 +0100</pubDate><guid>https://www.graphql-java-kickstart.com/spring-boot/type-definition-factory/</guid><description>The Type Definition Factory has been added with to be able to dynamically add type definitions to the schema instead of having to define them manually in the SDL. There are a couple of use cases where the types that have to be defined are very much alike and only certain parts are different. For example the connection and edge types used by Relay. Since generics isn&amp;rsquo;t supported in the definition language this type definition factory has been added.</description></item><item><title>Directives</title><link>https://www.graphql-java-kickstart.com/spring-boot/directives/</link><pubDate>Wed, 07 Nov 2018 00:11:02 +0100</pubDate><guid>https://www.graphql-java-kickstart.com/spring-boot/directives/</guid><description>See Schema Directives for a detailed explanation about directives including examples on how to define them in the SDL and to create the required classes.
5+
dependencies { implementation &amp;#39;com.graphql-java-kickstart:graphql-spring-boot-starter:13.0.0&amp;#39; // testing facilities testImplementation &amp;#39;com.graphql-java-kickstart:graphql-spring-boot-starter-test:13.0.0&amp;#39; } Build with Maven Add the respective starter dependencies you want to use:</description></item><item><title>Type Definition Factory</title><link>https://www.graphql-java-kickstart.com/spring-boot/type-definition-factory/</link><pubDate>Wed, 07 Nov 2018 00:11:02 +0100</pubDate><guid>https://www.graphql-java-kickstart.com/spring-boot/type-definition-factory/</guid><description>The Type Definition Factory has been added with to be able to dynamically add type definitions to the schema instead of having to define them manually in the SDL. There are a couple of use cases where the types that have to be defined are very much alike and only certain parts are different. For example the connection and edge types used by Relay. Since generics isn&amp;rsquo;t supported in the definition language this type definition factory has been added.</description></item><item><title>Directives</title><link>https://www.graphql-java-kickstart.com/spring-boot/directives/</link><pubDate>Wed, 07 Nov 2018 00:11:02 +0100</pubDate><guid>https://www.graphql-java-kickstart.com/spring-boot/directives/</guid><description>See Schema Directives for a detailed explanation about directives including examples on how to define them in the SDL and to create the required classes.
66
To add your custom SchemaDirectiveWiring to graphql-spring-boot create a bean of type SchemaDirective to have it automatically passed along to the SchemaParser
77
SchemaDirective.create(&amp;quot;uppercase&amp;quot;, new UppercaseDirective()) Basic usage Let&amp;rsquo;s say you defined a custom directive to make text uppercase in a resource schema.graphqls:
88
directive @uppercase on FIELD_DEFINITION type Query { hello: String @uppercase } And the actual implementation is the following:</description></item><item><title>Embedded Editors</title><link>https://www.graphql-java-kickstart.com/spring-boot/embedded-editors/</link><pubDate>Mon, 17 May 2021 07:00:00 -0500</pubDate><guid>https://www.graphql-java-kickstart.com/spring-boot/embedded-editors/</guid><description>The following GraphQL Embedded Editors are bundled for convenience:

0 commit comments

Comments
 (0)