From 27c78d8070349c72274192de3f20ed73fb590cae Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Fri, 16 Dec 2022 13:33:07 +0000 Subject: [PATCH] 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) --- ctl/generated.go | 42 ++++++++++++++++++++++----------------- go.mod | 4 ++-- go.sum | 8 ++++---- graph/schema.resolvers.go | 1 + 4 files changed, 31 insertions(+), 24 deletions(-) diff --git a/ctl/generated.go b/ctl/generated.go index 14f5dfc..a1b26c6 100644 --- a/ctl/generated.go +++ b/ctl/generated.go @@ -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, }, diff --git a/go.mod b/go.mod index 1124d7a..b62c521 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module gitlab.com/unboundsoftware/schemas go 1.19 require ( - github.com/99designs/gqlgen v0.17.20 + github.com/99designs/gqlgen v0.17.22 github.com/Khan/genqlient v0.5.0 github.com/alecthomas/kong v0.7.1 github.com/apex/log v1.9.0 @@ -46,7 +46,7 @@ require ( github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect golang.org/x/sys v0.0.0-20221006211917-84dc82d7e875 // indirect - golang.org/x/text v0.3.7 // indirect + golang.org/x/text v0.3.8 // indirect golang.org/x/tools v0.1.12 // indirect golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index ee8d807..707c4b2 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ github.com/99designs/gqlgen v0.17.2/go.mod h1:K5fzLKwtph+FFgh9j7nFbRUdBKvTcGnsta51fsMTn3o= -github.com/99designs/gqlgen v0.17.20 h1:O7WzccIhKB1dm+7g6dhQcULINftfiLSBg2l/mwbpJMw= -github.com/99designs/gqlgen v0.17.20/go.mod h1:Mja2HI23kWT1VRH09hvWshFgOzKswpO20o4ScpJIES4= +github.com/99designs/gqlgen v0.17.22 h1:TOcrF8t0T3I0za9JD3CB6ehq7dDEMjR9Onikf8Lc/04= +github.com/99designs/gqlgen v0.17.22/go.mod h1:BMhYIhe4bp7OlCo5I2PnowSK/Wimpv/YlxfNkqZGwLo= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= @@ -104,7 +104,6 @@ github.com/mattn/go-sqlite3 v1.14.6 h1:dNPt6NO46WmLVt2DLNpwczCmdV5boIZ6g/tlDrlRU github.com/mattn/go-sqlite3 v1.14.6/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/mitchellh/mapstructure v1.2.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.3.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= @@ -241,8 +240,9 @@ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY= +golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= diff --git a/graph/schema.resolvers.go b/graph/schema.resolvers.go index 6601f9d..58af27c 100644 --- a/graph/schema.resolvers.go +++ b/graph/schema.resolvers.go @@ -2,6 +2,7 @@ package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. +// Code generated by github.com/99designs/gqlgen version v0.17.22 import ( "context"