chore(deps): bump github.com/99designs/gqlgen from 0.17.20 to 0.17.22
Bumps [github.com/99designs/gqlgen](https://github.com/99designs/gqlgen) from 0.17.20 to 0.17.22. - [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.20...v0.17.22)
This commit is contained in:
+24
-18
@@ -270,14 +270,8 @@ type __UpdateSubGraphInput struct {
|
||||
// GetInput returns __UpdateSubGraphInput.Input, and is useful for accessing the field via an interface.
|
||||
func (v *__UpdateSubGraphInput) GetInput() *InputSubGraph { return v.Input }
|
||||
|
||||
func SubGraphs(
|
||||
ctx context.Context,
|
||||
client graphql.Client,
|
||||
ref string,
|
||||
) (*SubGraphsResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "SubGraphs",
|
||||
Query: `
|
||||
// The query or mutation executed by SubGraphs.
|
||||
const SubGraphs_Operation = `
|
||||
query SubGraphs ($ref: String!) {
|
||||
supergraph(ref: $ref) {
|
||||
__typename
|
||||
@@ -292,7 +286,16 @@ query SubGraphs ($ref: String!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
`,
|
||||
`
|
||||
|
||||
func SubGraphs(
|
||||
ctx context.Context,
|
||||
client graphql.Client,
|
||||
ref string,
|
||||
) (*SubGraphsResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "SubGraphs",
|
||||
Query: SubGraphs_Operation,
|
||||
Variables: &__SubGraphsInput{
|
||||
Ref: ref,
|
||||
},
|
||||
@@ -311,14 +314,8 @@ query SubGraphs ($ref: String!) {
|
||||
return &data, err
|
||||
}
|
||||
|
||||
func UpdateSubGraph(
|
||||
ctx context.Context,
|
||||
client graphql.Client,
|
||||
input *InputSubGraph,
|
||||
) (*UpdateSubGraphResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "UpdateSubGraph",
|
||||
Query: `
|
||||
// The query or mutation executed by UpdateSubGraph.
|
||||
const UpdateSubGraph_Operation = `
|
||||
mutation UpdateSubGraph ($input: InputSubGraph!) {
|
||||
updateSubGraph(input: $input) {
|
||||
service
|
||||
@@ -328,7 +325,16 @@ mutation UpdateSubGraph ($input: InputSubGraph!) {
|
||||
changedAt
|
||||
}
|
||||
}
|
||||
`,
|
||||
`
|
||||
|
||||
func UpdateSubGraph(
|
||||
ctx context.Context,
|
||||
client graphql.Client,
|
||||
input *InputSubGraph,
|
||||
) (*UpdateSubGraphResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "UpdateSubGraph",
|
||||
Query: UpdateSubGraph_Operation,
|
||||
Variables: &__UpdateSubGraphInput{
|
||||
Input: input,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user