Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 036b720

Browse files
authored
Merge pull request #508 from graphql-java-kickstart/jacoco-jdk15-pr-fix
Fix failing build issue in PR on JDK15
2 parents 5f2713c + 68359c2 commit 036b720

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ subprojects {
5656
jcenter()
5757
maven { url "https://dl.bintray.com/graphql-java-kickstart/releases" }
5858
maven { url "https://repo.spring.io/libs-milestone" }
59+
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
5960
maven { url "https://oss.jfrog.org/artifactory/oss-snapshot-local" }
6061
}
6162

@@ -88,6 +89,10 @@ subprojects {
8889
}
8990
}
9091

92+
jacoco {
93+
toolVersion = "0.8.7-SNAPSHOT"
94+
}
95+
9196
jacocoTestReport {
9297
reports {
9398
xml.enabled = true

graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLProperties.java

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,27 @@ static class CodeMirror {
3232
@Data
3333
static class Props {
3434

35-
private Variables variables = new Variables();
35+
private GraphiQLVariables variables = new GraphiQLVariables();
3636

37+
/**
38+
* See https://github.com/graphql/graphiql/tree/main/packages/graphiql#props
39+
*/
3740
@Data
38-
static class Variables {
41+
static class GraphiQLVariables {
3942

43+
private String query;
44+
private String variables;
45+
private String headers;
46+
private String operationName;
47+
private String response;
48+
private String defaultQuery;
49+
private boolean defaultVariableEditorOpen;
50+
private boolean defaultSecondaryEditorOpen;
4051
private String editorTheme;
52+
private boolean readOnly;
53+
private boolean docsExplorerOpen;
54+
private boolean headerEditorEnabled;
55+
private boolean shouldPersistHeaders;
4156
}
4257
}
4358

0 commit comments

Comments
 (0)