feat: add some initial introspection support. (#52)
This commit is contained in:
@ -6,7 +6,6 @@ import (
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/dosco/super-graph/core"
|
||||
"github.com/dosco/super-graph/internal/serv/internal/auth"
|
||||
@ -75,11 +74,6 @@ func apiV1(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
if strings.EqualFold(req.OpName, introspectionQuery) {
|
||||
introspect(w)
|
||||
return
|
||||
}
|
||||
|
||||
res, err := sg.GraphQL(ct, req.Query, req.Vars)
|
||||
|
||||
if logLevel >= LogLevelDebug {
|
||||
|
@ -317,11 +317,11 @@ func init() {
|
||||
"static/media": dirr,
|
||||
},
|
||||
Files: map[string]*embedded.EmbeddedFile{
|
||||
"asset-manifest.json": file9,
|
||||
"favicon.ico": filea,
|
||||
"index.html": fileb,
|
||||
"manifest.json": filec,
|
||||
"precache-manifest.ac47d060293cf05e2bbe249faba24591.js": filed,
|
||||
"asset-manifest.json": file9,
|
||||
"favicon.ico": filea,
|
||||
"index.html": fileb,
|
||||
"manifest.json": filec,
|
||||
"precache-manifest.ac47d060293cf05e2bbe249faba24591.js": filed,
|
||||
"service-worker.js": filee,
|
||||
"static/css/main.c6b5c55c.chunk.css": fileh,
|
||||
"static/css/main.c6b5c55c.chunk.css.map": filei,
|
||||
|
Reference in New Issue
Block a user