chore(deps): bump github.com/99designs/gqlgen from 0.17.38 to 0.17.39
Bumps [github.com/99designs/gqlgen](https://github.com/99designs/gqlgen) from 0.17.38 to 0.17.39. - [Release notes](https://github.com/99designs/gqlgen/releases) - [Changelog](https://github.com/99designs/gqlgen/blob/master/CHANGELOG.md) - [Commits](https://github.com/99designs/gqlgen/compare/v0.17.38...v0.17.39)
This commit is contained in:
+24
-22
@@ -43,6 +43,7 @@ type SubGraphsResponse struct {
|
||||
func (v *SubGraphsResponse) GetSupergraph() SubGraphsSupergraph { return v.Supergraph }
|
||||
|
||||
func (v *SubGraphsResponse) UnmarshalJSON(b []byte) error {
|
||||
|
||||
if string(b) == "null" {
|
||||
return nil
|
||||
}
|
||||
@@ -148,6 +149,7 @@ func __unmarshalSubGraphsSupergraph(b []byte, v *SubGraphsSupergraph) error {
|
||||
}
|
||||
|
||||
func __marshalSubGraphsSupergraph(v *SubGraphsSupergraph) ([]byte, error) {
|
||||
|
||||
var typename string
|
||||
switch v := (*v).(type) {
|
||||
case *SubGraphsSupergraphSubGraphs:
|
||||
@@ -289,29 +291,29 @@ query SubGraphs ($ref: String!) {
|
||||
`
|
||||
|
||||
func SubGraphs(
|
||||
ctx context.Context,
|
||||
client graphql.Client,
|
||||
ctx_ context.Context,
|
||||
client_ graphql.Client,
|
||||
ref string,
|
||||
) (*SubGraphsResponse, error) {
|
||||
req := &graphql.Request{
|
||||
req_ := &graphql.Request{
|
||||
OpName: "SubGraphs",
|
||||
Query: SubGraphs_Operation,
|
||||
Variables: &__SubGraphsInput{
|
||||
Ref: ref,
|
||||
},
|
||||
}
|
||||
var err error
|
||||
var err_ error
|
||||
|
||||
var data SubGraphsResponse
|
||||
resp := &graphql.Response{Data: &data}
|
||||
var data_ SubGraphsResponse
|
||||
resp_ := &graphql.Response{Data: &data_}
|
||||
|
||||
err = client.MakeRequest(
|
||||
ctx,
|
||||
req,
|
||||
resp,
|
||||
err_ = client_.MakeRequest(
|
||||
ctx_,
|
||||
req_,
|
||||
resp_,
|
||||
)
|
||||
|
||||
return &data, err
|
||||
return &data_, err_
|
||||
}
|
||||
|
||||
// The query or mutation executed by UpdateSubGraph.
|
||||
@@ -328,27 +330,27 @@ mutation UpdateSubGraph ($input: InputSubGraph!) {
|
||||
`
|
||||
|
||||
func UpdateSubGraph(
|
||||
ctx context.Context,
|
||||
client graphql.Client,
|
||||
ctx_ context.Context,
|
||||
client_ graphql.Client,
|
||||
input *InputSubGraph,
|
||||
) (*UpdateSubGraphResponse, error) {
|
||||
req := &graphql.Request{
|
||||
req_ := &graphql.Request{
|
||||
OpName: "UpdateSubGraph",
|
||||
Query: UpdateSubGraph_Operation,
|
||||
Variables: &__UpdateSubGraphInput{
|
||||
Input: input,
|
||||
},
|
||||
}
|
||||
var err error
|
||||
var err_ error
|
||||
|
||||
var data UpdateSubGraphResponse
|
||||
resp := &graphql.Response{Data: &data}
|
||||
var data_ UpdateSubGraphResponse
|
||||
resp_ := &graphql.Response{Data: &data_}
|
||||
|
||||
err = client.MakeRequest(
|
||||
ctx,
|
||||
req,
|
||||
resp,
|
||||
err_ = client_.MakeRequest(
|
||||
ctx_,
|
||||
req_,
|
||||
resp_,
|
||||
)
|
||||
|
||||
return &data, err
|
||||
return &data_, err_
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user