Skip to content

Commit

Permalink
feat: add ExecRawWithExtensions method for retrieving extensions in r…
Browse files Browse the repository at this point in the history
…esponse - typo fixed
  • Loading branch information
Rafał Kałuski committed Jun 28, 2024
1 parent 7a79ab1 commit b1ae09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ func TestClient_Exec_QueryRawWithExtensions(t *testing.T) {
t.Errorf("got body: %v, want %v", got, want)
}
w.Header().Set("Content-Type", "application/json")
mustWrite(w, `{"data": {"user": {"name": "Gopher"}}, "extensions": {"domain": "users", "database": {"id": 1, "name": "users_db"}}"}`)
mustWrite(w, `{"data": {"user": {"name": "Gopher"}}, "extensions": {"domain": "users", "database": {"id": 1, "name": "users_db"}}}`)
})
client := graphql.NewClient("/graphql", &http.Client{Transport: localRoundTripper{handler: mux}})

Expand Down

0 comments on commit b1ae09d

Please sign in to comment.