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

Commit 0ad60dc

Browse files
committed
Fix failing build issue in PR on JDK15
1 parent 5f2713c commit 0ad60dc

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ sonarqube {
3737
}
3838
}
3939

40+
jacoco {
41+
toolVersion = "0.8.7.202012290703"
42+
}
43+
4044
subprojects {
4145
apply plugin: 'idea'
4246
apply plugin: 'jacoco'

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)