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:
2022-12-16 13:33:07 +00:00
parent 658305e60a
commit 27c78d8070
4 changed files with 31 additions and 24 deletions
+24 -18
View File
@@ -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,
},