Skip to content

Commit

Permalink
Merge branch 'main' into andi/eng-5603-make-controlplane-compatible-w…
Browse files Browse the repository at this point in the history
…ith-s3-buckets
  • Loading branch information
AndreasZeissner authored Sep 5, 2024
2 parents e01f183 + 41cbcad commit 3841ee3
Show file tree
Hide file tree
Showing 8 changed files with 127 additions and 762 deletions.
1 change: 1 addition & 0 deletions go.work
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ use (
)

//replace github.com/wundergraph/graphql-go-tools/v2 => ../graphql-go-tools/v2
//replace github.com/wundergraph/astjson => ../astjson
4 changes: 4 additions & 0 deletions router-tests/query_plans_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func TestQueryPlans(t *testing.T) {
res := xEnv.MakeGraphQLRequestOK(testenv.GraphQLRequest{
Header: http.Header{
"X-WG-Include-Query-Plan": []string{"true"},
"X-WG-Skip-Loader": []string{"true"},
"X-WG-Trace": []string{"true", "enable_predictable_debug_timings"},
},
Query: `query Requires {
Expand All @@ -162,6 +163,9 @@ func TestQueryPlans(t *testing.T) {
require.NoError(t, err)
resultBody := rex.ReplaceAllString(res.Body, "http://localhost/graphql")
g.Assert(t, "query_plan_with_trace_no_data", prettifyJSON(resultBody))
if t.Failed() {
t.Log(res.Body)
}
})
})
}
Loading

0 comments on commit 3841ee3

Please sign in to comment.