Skip to content

Commit df9674d

Browse files
committed
chore: change version of graphiql
1 parent a96f9c3 commit df9674d

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

go.mod

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
module github.com/Moranilt/handler
1+
module github.com/graphql-go/handler
22

33
go 1.16
44

5-
require (
6-
github.com/graphql-go/graphql v0.7.9
7-
github.com/graphql-go/handler v0.2.3
8-
)
5+
require github.com/graphql-go/graphql v0.8.0

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
github.com/graphql-go/graphql v0.7.9 h1:5Va/Rt4l5g3YjwDnid3vFfn43faaQBq7rMcIZ0VnV34=
2-
github.com/graphql-go/graphql v0.7.9/go.mod h1:k6yrAYQaSP59DC5UVxbgxESlmVyojThKdORUqGDGmrI=
3-
github.com/graphql-go/handler v0.2.3 h1:CANh8WPnl5M9uA25c2GBhPqJhE53Fg0Iue/fRNla71E=
4-
github.com/graphql-go/handler v0.2.3/go.mod h1:leLF6RpV5uZMN1CdImAxuiayrYYhOk33bZciaUGaXeU=
1+
github.com/graphql-go/graphql v0.8.0 h1:JHRQMeQjofwqVvGwYnr8JnPTY0AxgVy1HpHSGPLdH0I=
2+
github.com/graphql-go/graphql v0.8.0/go.mod h1:nKiHzRM0qopJEwCITUuIsxk9PlVlwIiiI8pnJEhordQ=

graphiql.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func renderGraphiQL(w http.ResponseWriter, params graphql.Params) {
6666
}
6767

6868
// graphiqlVersion is the current version of GraphiQL
69-
const graphiqlVersion = "0.2.2"
69+
const graphiqlVersion = "0.11.11"
7070

7171
// tmpl is the page template to render GraphiQL
7272
const graphiqlTemplate = `
@@ -197,7 +197,6 @@ add "&raw" to the end of the URL within a browser.
197197
variables: {{ .VariablesString }},
198198
operationName: {{ .OperationName }},
199199
shouldPersistHeaders: true,
200-
editorTheme: "solarized dark",
201200
headerEditorEnabled: true,
202201
}),
203202
document.getElementById('graphiql')

0 commit comments

Comments
 (0)